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