ContentDeploymentPath.GetVirtualServersInformation-Methode (String, ICredentials)
Verwendet die Anmeldeinformationen zur Verfügung gestellt, rRetrieves Namen der virtuellen Server und URLs für die angegebene Ziel-Serverfarm.
Namespace: Microsoft.SharePoint.Publishing.Administration
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Shared Function GetVirtualServersInformation ( _
destinationAdminServerUrl As String, _
credentials As ICredentials _
) As VirtualServerInformation()
'Usage
Dim destinationAdminServerUrl As String
Dim credentials As ICredentials
Dim returnValue As VirtualServerInformation()
returnValue = ContentDeploymentPath.GetVirtualServersInformation(destinationAdminServerUrl, _
credentials)
public static VirtualServerInformation[] GetVirtualServersInformation(
string destinationAdminServerUrl,
ICredentials credentials
)
Parameter
destinationAdminServerUrl
Typ: System.StringDie URL für den Server der Zentraladministration.
credentials
Typ: System.Net.ICredentialsDie Anmeldeinformationen, die erforderlich sind, auf den Zielserver für die Zentraladministration zugreifen.
Rückgabewert
Typ: []
Die virtuellen Server-Namen und URLs für die Ziel-Serverfarm.