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