Compartir a través de


ConnectionInfo Constructor

Definición

Inicializa una nueva instancia de la clase ConnectionInfo.

public:
 ConnectionInfo(System::String ^ name, Uri ^ url, bool isLocal, Microsoft::Web::Management::Server::ManagementScope scope, Microsoft::Web::Management::Client::ManagementScopePath ^ scopePath, Microsoft::Web::Management::Client::ConnectionCredential ^ credentials, Microsoft::Web::Management::Client::IConnectionManager ^ connectionManager);
public ConnectionInfo (string name, Uri url, bool isLocal, Microsoft.Web.Management.Server.ManagementScope scope, Microsoft.Web.Management.Client.ManagementScopePath scopePath, Microsoft.Web.Management.Client.ConnectionCredential credentials, Microsoft.Web.Management.Client.IConnectionManager connectionManager);
new Microsoft.Web.Management.Client.ConnectionInfo : string * Uri * bool * Microsoft.Web.Management.Server.ManagementScope * Microsoft.Web.Management.Client.ManagementScopePath * Microsoft.Web.Management.Client.ConnectionCredential * Microsoft.Web.Management.Client.IConnectionManager -> Microsoft.Web.Management.Client.ConnectionInfo
Public Sub New (name As String, url As Uri, isLocal As Boolean, scope As ManagementScope, scopePath As ManagementScopePath, credentials As ConnectionCredential, connectionManager As IConnectionManager)

Parámetros

name
String

Nombre del ConnectionInfo objeto.

url
Uri

Identificador uniforme de recursos (URI) del host.

isLocal
Boolean

Estado de conexión local.

connectionManager
IConnectionManager

Objeto IConnectionManager para .ConnectionInfo

Excepciones

El nameparámetro , scopePath, credentials o connectionManager es null.

Comentarios

El valor del scope parámetro debe ser Application o Server.

Se aplica a