Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the names of all the site collections for the specified front-end Web server.
Namespace: Microsoft.SharePoint.Publishing.Administration.WebServices
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function GetSiteCollectionNames ( _
virtualServerUrl As String _
) As String()
'Usage
Dim instance As ContentDeploymentRemoteImport
Dim virtualServerUrl As String
Dim returnValue As String()
returnValue = instance.GetSiteCollectionNames(virtualServerUrl)
[WebMethodAttribute]
public string[] GetSiteCollectionNames(
string virtualServerUrl
)
Parameters
virtualServerUrl
Type: System.StringA string that contains the virtual server URL.
Return Value
Type: []
A string array that contains the names of the site collections on the specified front-end Web server.
See Also
Reference
ContentDeploymentRemoteImport Class
ContentDeploymentRemoteImport Members
Microsoft.SharePoint.Publishing.Administration.WebServices Namespace