Share via


ContentDeploymentPath.GetInstance method (String)

Returns a ContentDeploymentPath object with the specified pathName.

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

Syntax

'Declaration
Public Shared Function GetInstance ( _
    pathName As String _
) As ContentDeploymentPath
'Usage
Dim pathName As String
Dim returnValue As ContentDeploymentPath

returnValue = ContentDeploymentPath.GetInstance(pathName)
public static ContentDeploymentPath GetInstance(
    string pathName
)

Parameters

  • pathName
    Type: System.String

    The name of the specified content deployment path.

Return value

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

See also

Reference

ContentDeploymentPath class

ContentDeploymentPath members

GetInstance overload

Microsoft.SharePoint.Publishing.Administration namespace