ContentDeploymentRemoteImport.CreateJob Method
Namespace: Microsoft.SharePoint.Publishing.Administration.WebServices
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function CreateJob ( _
description As String, _
sourceId As Guid, _
destinationServerUrl As String, _
destinationSiteCollection As String, _
includeSecurity As SPIncludeSecurity, _
includeUserInfoDateTime As SPImportUserInfoDateTimeOption, _
enableEventReceivers As Boolean, _
fileCompression As Boolean _
) As Guid
'Usage
Dim instance As ContentDeploymentRemoteImport
Dim description As String
Dim sourceId As Guid
Dim destinationServerUrl As String
Dim destinationSiteCollection As String
Dim includeSecurity As SPIncludeSecurity
Dim includeUserInfoDateTime As SPImportUserInfoDateTimeOption
Dim enableEventReceivers As Boolean
Dim fileCompression As Boolean
Dim returnValue As Guid
returnValue = instance.CreateJob(description, _
sourceId, destinationServerUrl, _
destinationSiteCollection, includeSecurity, _
includeUserInfoDateTime, enableEventReceivers, _
fileCompression)
[WebMethodAttribute]
public Guid CreateJob(
string description,
Guid sourceId,
string destinationServerUrl,
string destinationSiteCollection,
SPIncludeSecurity includeSecurity,
SPImportUserInfoDateTimeOption includeUserInfoDateTime,
bool enableEventReceivers,
bool fileCompression
)
Parameters
- description
Type: System.String
- sourceId
Type: System.Guid
- destinationServerUrl
Type: System.String
- destinationSiteCollection
Type: System.String
- includeSecurity
Type: Microsoft.SharePoint.Deployment.SPIncludeSecurity
- includeUserInfoDateTime
Type: Microsoft.SharePoint.Deployment.SPImportUserInfoDateTimeOption
- enableEventReceivers
Type: System.Boolean
- fileCompression
Type: System.Boolean
Return Value
Type: System.Guid
See Also
Reference
ContentDeploymentRemoteImport Class
ContentDeploymentRemoteImport Members
Microsoft.SharePoint.Publishing.Administration.WebServices Namespace