다음을 통해 공유


JobServer.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(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
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.

SQL Server 에이전트에서 자동 관리 태스크 예약

참고 항목

참조

JobServer 클래스

Microsoft.SqlServer.Management.Smo.Agent 네임스페이스

관련 자료

관리 태스크 자동화(SQL Server 에이전트)

SQL Server 에이전트 저장 프로시저(Transact-SQL)