MoveSitePartToSite(MoveSitePartToSiteSetup,IDbTransaction) Method
Setup object for API invocation.
Database transaction under which the API will be invoked.
Used to move an existing site part from its current location to the top-level at a site. This overload takes a setup object and a database transaction.
Syntax
'Declaration
Public Overloads Function MoveSitePartToSite( _
ByVal _setupParam_ As MoveSitePartToSiteSetup, _
ByVal _transaction_ As IDbTransaction _
) As ToolkitResult
public ToolkitResult MoveSitePartToSite(
MoveSitePartToSiteSetup _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
The site part to be moved must be current (not de-installed).
When a site_part is moved, all sub-site_parts underneath it are also moved.
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