Partilhar 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