Share via


SMOServerConn.UserName プロパティ

定義

Windows 認証を使用しない場合、接続のユーザー名を取得します。値の設定も可能です。

public:
 property System::String ^ UserName { System::String ^ get(); void set(System::String ^ value); };
public string UserName { get; set; }
member this.UserName : string with get, set
Public Property UserName As String

プロパティ値

接続のユーザー名を含む文字列。

注釈

Windows 認証を使用しない場合、接続のユーザー名とパスワードを指定する必要があります。

適用対象