SPCopyDestinationCollection.Remove Method (Guid)
Deletes the copy destination object with the specified GUID from the collection of copy destination objects.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub Remove ( _
id As Guid _
)
'Usage
Dim instance As SPCopyDestinationCollection
Dim id As Guid
instance.Remove(id)
public void Remove(
Guid id
)
Parameters
id
Type: System.GuidA GUID that specifies the copy destination object to delete.
Remarks
Call the UpdateParent() method to confirm the delete operation.
See Also
Reference
SPCopyDestinationCollection Class