다음을 통해 공유


MsxAccountCredentialName 속성

Gets or sets the Windows account required to connect to the master server using Windows Authentication.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Agent
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<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
A String value that specifies the login used to connect to the master server.

주의

이 속성은 SQL Server 2005에서 도입되었습니다.

The property only has meaning when the JobServer object references a multiserver administration, target server. For a master server, or for any server not participating in multiserver administration, the MsxServerName property value is an empty string.