MoveSitePartToSite(Int32,String) Method
Objid of the Site Part to be moved
Identifier of the parent Site the Site Part is being moved under
Move the SitePartToSite from one WipBin to another WipBin. This overload takes a set of required parameters for the API.
Syntax
'Declaration
Public Overloads Function MoveSitePartToSite( _
ByVal _sitePartObjid_ As Integer, _
ByVal _parentSiteIDNum_ As String _
) As ToolkitResult
public ToolkitResult MoveSitePartToSite(
int _sitePartObjid_,
string _parentSiteIDNum_
)
Parameters
sitePartObjid
Objid of the Site Part to be moved
parentSiteIDNum
Identifier of the parent Site the Site Part is being moved under
Return Value
A ToolkitResult instance with no properties set. The properties (Objid, IDNum, etc.) are not relevant to this API.
Remarks
The new WipBin must belong to the same user as the first WipBin. The move operation does not change the ownership of the SitePartToSite, nor is an activity log or time bomb generated for the action.
Note: This API allows you to move a queueable object from one WipBin to another, even if the object is currently dispatched. Since WipBins are internal to a user, there really is no reason that you shouldn’t be able to move the interal (to a user) location of the object. This is an enhancement to base Clarify function, which requires that the object not be dispatched to be moved.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family
Reference
InterfacesToolkit Class
InterfacesToolkit Members
Overload List