Share via


ContentDeploymentPath.GetInstance method (Guid)

Returns a ContentDeploymentPath object with the specified pathId.

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

Syntax

'Declaration
Public Shared Function GetInstance ( _
    pathId As Guid _
) As ContentDeploymentPath
'Usage
Dim pathId As Guid
Dim returnValue As ContentDeploymentPath

returnValue = ContentDeploymentPath.GetInstance(pathId)
public static ContentDeploymentPath GetInstance(
    Guid pathId
)

Parameters

  • pathId
    Type: System.Guid

    Id of the content deployment path.

Return value

Type: Microsoft.SharePoint.Publishing.Administration.ContentDeploymentPath
The ContentDeploymentPath with the specified pathId.

See also

Reference

ContentDeploymentPath class

ContentDeploymentPath members

GetInstance overload

Microsoft.SharePoint.Publishing.Administration namespace