Share via


SPObjectImportedEventArgs.TargetId property

Gets the unique identifier (GUID) for the target site collection.

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

Syntax

'Declaration
Public ReadOnly Property TargetId As Guid
    Get
'Usage
Dim instance As SPObjectImportedEventArgs
Dim value As Guid

value = instance.TargetId
public Guid TargetId { get; }

Property value

Type: System.Guid
Returns a GUID for the target site collection.

See also

Reference

SPObjectImportedEventArgs class

SPObjectImportedEventArgs members

Microsoft.SharePoint.Deployment namespace