SqlAuthenticationParameters コンストラクター

定義

指定された認証方法、サーバー名、データベース名、リソース URI、証明機関 URI、ユーザー ログイン名/ID、ユーザー パスワード、接続 ID を使って、SqlAuthenticationParameters クラスの新しいインスタンスを初期化します。

protected:
 SqlAuthenticationParameters(System::Data::SqlClient::SqlAuthenticationMethod authenticationMethod, System::String ^ serverName, System::String ^ databaseName, System::String ^ resource, System::String ^ authority, System::String ^ userId, System::String ^ password, Guid connectionId);
protected SqlAuthenticationParameters (System.Data.SqlClient.SqlAuthenticationMethod authenticationMethod, string serverName, string databaseName, string resource, string authority, string userId, string password, Guid connectionId);
new System.Data.SqlClient.SqlAuthenticationParameters : System.Data.SqlClient.SqlAuthenticationMethod * string * string * string * string * string * string * Guid -> System.Data.SqlClient.SqlAuthenticationParameters
Protected Sub New (authenticationMethod As SqlAuthenticationMethod, serverName As String, databaseName As String, resource As String, authority As String, userId As String, password As String, connectionId As Guid)

パラメーター

authenticationMethod
SqlAuthenticationMethod

認証方法を指定する列挙値の 1 つ。

serverName
String

サーバー名。

databaseName
String

データベース名。

resource
String

リソース URI。

authority
String

機関の URI。

userId
String

ユーザーのログイン名/ID。

password
String

ユーザー パスワード。

connectionId
Guid

接続 ID。

適用対象