Share via


ServerRole.EnumAgentProxyAccounts 메서드

Enumerates a list of the SQL Server Agent proxy account to which the server role belongs.

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

구문

‘선언
Public Function EnumAgentProxyAccounts As DataTable
‘사용 방법
Dim instance As ServerRole 
Dim returnValue As DataTable 

returnValue = instance.EnumAgentProxyAccounts()
public DataTable EnumAgentProxyAccounts()
public:
DataTable^ EnumAgentProxyAccounts()
member EnumAgentProxyAccounts : unit -> DataTable
public function EnumAgentProxyAccounts() : DataTable

반환 값

유형: System.Data.DataTable
A DataTable system object value that contains an enumerated list of information about SQL Server Agent proxy accounts to which the referenced server role belongs.

사용자, 역할 및 로그인 관리

참고 항목

참조

ServerRole 클래스

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

관련 자료

고정 서버 역할의 권한(데이터베이스 엔진)

sp_addsrvrolemember(Transact-SQL)