次の方法で共有


ConnectionInfo コンストラクター

定義

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)

パラメーター

name
String

オブジェクトの ConnectionInfo 名前。

url
Uri

ホストの Uniform Resource Identifier (URI)。

isLocal
Boolean

ローカル接続の状態。

scopePath
ManagementScopePath

ManagementScopePathConnectionInfoオブジェクト。

credentials
ConnectionCredential

ConnectionCredentialConnectionInfoオブジェクト。

connectionManager
IConnectionManager

IConnectionManagerConnectionInfoオブジェクト。

例外

namescopePath credentials、または connectionManager パラメーターは ですnull

注釈

パラメーターのscope値は または ServerであるApplication必要があります。

適用対象