Share via


ContentDeploymentJob.GetInstance method (Guid)

Gets the instance of the SPDeploymentObject object that matches the specified jobId.

Namespace:  Microsoft.SharePoint.Publishing.Administration
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Shared Function GetInstance ( _
    jobId As Guid _
) As ContentDeploymentJob
'Usage
Dim jobId As Guid
Dim returnValue As ContentDeploymentJob

returnValue = ContentDeploymentJob.GetInstance(jobId)
public static ContentDeploymentJob GetInstance(
    Guid jobId
)

Parameters

  • jobId
    Type: System.Guid

    The identification number of this content deployment job.

Return value

Type: Microsoft.SharePoint.Publishing.Administration.ContentDeploymentJob
The SPDeploymentObject instance with the specified jobId.

See also

Reference

ContentDeploymentJob class

ContentDeploymentJob members

GetInstance overload

Microsoft.SharePoint.Publishing.Administration namespace