ProxyAccount.EnumServerRoles 메서드
Enumerates a list of Microsoft SQL Server server roles associated with the referenced proxy account.
네임스페이스: Microsoft.SqlServer.Management.Smo.Agent
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Function EnumServerRoles As DataTable
‘사용 방법
Dim instance As ProxyAccount
Dim returnValue As DataTable
returnValue = instance.EnumServerRoles()
public DataTable EnumServerRoles()
public:
DataTable^ EnumServerRoles()
member EnumServerRoles : unit -> DataTable
public function EnumServerRoles() : DataTable
반환 값
유형: System.Data.DataTable
A DataTable object value that contains a table of information about the SQL Server server roles that are associated with the referenced proxy account.
예
SQL Server 에이전트에서 자동 관리 태스크 예약
참고 항목
참조
Microsoft.SqlServer.Management.Smo.Agent 네임스페이스