SPObjectImportedEventArgs-Konstruktor
Erstellt eine neue Instanz der SPObjectImportedEventArgs -Klasse, die Typinformationen und auch Quell- und Ziel-IDs und Speicherorte enthält.
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
)
Parameter
type
Typ: Microsoft.SharePoint.Deployment.SPDeploymentObjectTypeDie SPDeploymentObjectType für das Importobjekt.
sourceUrl
Typ: System.StringDie Zeichenfolge-URL, der das übergeordnete Objekt des angegebenen Objekts in der Quellwebsitesammlung.
targetUrl
Typ: System.StringDie Zeichenfolge URL von der übergeordnete Objekt des angegebenen Objekts in der Ziel-Websitesammlung.
sourceId
Typ: System.GuidEindeutiger Bezeichner (GUID) für die Quellwebsitesammlung.
tagetId
Typ: System.GuidEindeutiger Bezeichner (GUID) für die Zielwebsitesammlung.
Siehe auch
Referenz
SPObjectImportedEventArgs Klasse