MsxAccountCredentialName プロパティ

Windows 認証を使用しているマスタ サーバーに接続するのに必要な Windows アカウントを取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Smo.Agent
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property MsxAccountCredentialName As String
    Get
'使用
Dim instance As JobServer
Dim value As String

value = instance.MsxAccountCredentialName
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public string MsxAccountCredentialName { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
property String^ MsxAccountCredentialName {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
member MsxAccountCredentialName : string
function get MsxAccountCredentialName () : String

プロパティ値

型: System. . :: . .String
マスタ サーバーへの接続に使用されるログインを示す String 値です。

説明

このプロパティは SQL Server 2005 で導入されました。

このプロパティは、マルチサーバー管理の対象サーバーを JobServer オブジェクトが参照する場合のみ意味を持ちます。マスタ サーバーの場合、またはマルチサーバー管理に参加していないサーバーの場合、MsxServerName プロパティ値は空の文字列です。