Share via


ContentDeploymentPath.GetSiteCollectionNames method (String)

Gets the site collection names for the given virtual server on the destination farm.

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

Syntax

'Declaration
Public Function GetSiteCollectionNames ( _
    virtualServerUrl As String _
) As String()
'Usage
Dim instance As ContentDeploymentPath
Dim virtualServerUrl As String
Dim returnValue As String()

returnValue = instance.GetSiteCollectionNames(virtualServerUrl)
public string[] GetSiteCollectionNames(
    string virtualServerUrl
)

Parameters

  • virtualServerUrl
    Type: System.String

    The URL for the virtual server on the destination server farm.

Return value

Type: []
The site collection names for the specified virtual server on the destination farm.

See also

Reference

ContentDeploymentPath class

ContentDeploymentPath members

GetSiteCollectionNames overload

Microsoft.SharePoint.Publishing.Administration namespace