ConnectionInfo Constructor
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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.
- scope
- ManagementScope
Valor de ManagementScope para ConnectionInfo.
- scopePath
- ManagementScopePath
Objeto ManagementScopePath para .ConnectionInfo
- credentials
- ConnectionCredential
Objeto ConnectionCredential para .ConnectionInfo
- connectionManager
- IConnectionManager
Objeto IConnectionManager para .ConnectionInfo
Excepciones
El name
parámetro , scopePath
, credentials
o connectionManager
es null
.
Comentarios
El valor del scope
parámetro debe ser Application o Server.