ContentDeploymentJob.GetInstance Method (String)
Gets the ContentDeploymentJob object with the specified jobName.
Namespace: Microsoft.SharePoint.Publishing.Administration
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Shared Function GetInstance ( _
jobName As String _
) As ContentDeploymentJob
'Usage
Dim jobName As String
Dim returnValue As ContentDeploymentJob
returnValue = ContentDeploymentJob.GetInstance(jobName)
public static ContentDeploymentJob GetInstance(
string jobName
)
Parameters
jobName
Type: System.StringThe Name property of this ContentDeploymentJob object.
Return Value
Type: Microsoft.SharePoint.Publishing.Administration.ContentDeploymentJob
The ContentDeploymentJob with the specified jobName.