ReinstallSitePart(ReinstallSitePartSetup,IDbTransaction) Method
Setup object for API invocation.
Database transaction under which the API will be invoked.
Used to re-install a site part (and the sub-parts installed underneath it) that have been deinstalled from a site. This overload takes a setup object and a database transaction.
Syntax
'Declaration
Public Overloads Function ReinstallSitePart( _
ByVal _setupParam_ As ReinstallSitePartSetup, _
ByVal _transaction_ As IDbTransaction _
) As ToolkitResult
public ToolkitResult ReinstallSitePart(
ReinstallSitePartSetup _setupParam_,
IDbTransaction _transaction_
)
Parameters
setupParam
Setup object for API invocation.
transaction
Database transaction under which the API will be invoked.
Return Value
A ToolkitResult instance with no properties set. The properties (Objid, IDNum, etc.) are not relevant to this API.
Remarks
If the site part is to be reinstalled in a bin, the bin objid is specified. If it is to be installed under another part, the parent part objid is specified. If the site part is to be installed at the top-level of the site, neither objid is specified.
Example
Developer Walkthrough - Transaction Support
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family