Share via


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

Return value

Type: Microsoft.SharePoint.Publishing.Administration.ContentDeploymentJob
The ContentDeploymentJob with the specified jobName.

See also

Reference

ContentDeploymentJob class

ContentDeploymentJob members

GetInstance overload

Microsoft.SharePoint.Publishing.Administration namespace