SPObjectImportedEventArgs constructor
Creates a new instance of the SPObjectImportedEventArgs class that includes type information and also source and target identifiers and locations.
Namespace: Microsoft.SharePoint.Deployment
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
type As SPDeploymentObjectType, _
sourceUrl As String, _
targetUrl As String, _
sourceId As Guid, _
tagetId As Guid _
)
'Usage
Dim type As SPDeploymentObjectType
Dim sourceUrl As String
Dim targetUrl As String
Dim sourceId As Guid
Dim tagetId As Guid
Dim instance As New SPObjectImportedEventArgs(type, sourceUrl, _
targetUrl, sourceId, tagetId)
public SPObjectImportedEventArgs(
SPDeploymentObjectType type,
string sourceUrl,
string targetUrl,
Guid sourceId,
Guid tagetId
)
Parameters
type
Type: Microsoft.SharePoint.Deployment.SPDeploymentObjectTypeThe SPDeploymentObjectType for the import object.
sourceUrl
Type: System.StringThe string URL of the parent object of the specified object in the source site collection.
targetUrl
Type: System.StringThe string URL of the parent object of the specified object in the target site collection.
sourceId
Type: System.GuidUnique identifier (GUID) for the source site collection.
tagetId
Type: System.GuidUnique identifier (GUID) for the target site collection.
See also
Reference
SPObjectImportedEventArgs class