MsxAccountCredentialName プロパティ
Windows 認証を使用しているマスター サーバーに接続するのに必要な Windows アカウントを取得します。値の設定も可能です。
名前空間: Microsoft.SqlServer.Management.Smo.Agent
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MsxAccountCredentialName As String
Get
'使用
Dim instance As JobServer
Dim value As String
value = instance.MsxAccountCredentialName
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)]
public string MsxAccountCredentialName { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone)]
public:
property String^ MsxAccountCredentialName {
String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
member MsxAccountCredentialName : string
function get MsxAccountCredentialName () : String
プロパティ値
型: System. . :: . .String
マスター サーバーへの接続に使用されるログインを示す String 値です。
説明
このプロパティは、マルチサーバー管理の対象サーバーを JobServer オブジェクトが参照する場合のみ意味を持ちます。マスター サーバーの場合、またはマルチサーバー管理に参加していないサーバーの場合、MsxServerName プロパティ値は空の文字列です。