Partilhar via


SPImportContext.RetainObjectIdentity Property

Gets whether a new object should be created with the original GUID identifier.

Namespace:  Microsoft.SharePoint.Deployment
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property RetainObjectIdentity As Boolean
    Get
    Friend Set
'Usage
Dim instance As SPImportContext
Dim value As Boolean

value = instance.RetainObjectIdentity
public bool RetainObjectIdentity { get; internal set; }

Property Value

Type: System.Boolean
true if the new object is created by using the original GUID; false if the new object is created by using a new GUID.

Remarks

The default return value is false.

See Also

Reference

SPImportContext Class

SPImportContext Members

Microsoft.SharePoint.Deployment Namespace