ReplicationServer.EnumAgentProfiles(AgentType) 메서드

정의

서버에서 지원되는 복제 에이전트 성능 프로필을 반환합니다.

public:
 System::Collections::ArrayList ^ EnumAgentProfiles(Microsoft::SqlServer::Replication::AgentType agentType);
public System.Collections.ArrayList EnumAgentProfiles (Microsoft.SqlServer.Replication.AgentType agentType);
member this.EnumAgentProfiles : Microsoft.SqlServer.Replication.AgentType -> System.Collections.ArrayList
Public Function EnumAgentProfiles (agentType As AgentType) As ArrayList

매개 변수

agentType
AgentType

반환되는 에이전트 프로필의 유형을 나타내는 AgentType 열거 값입니다.

반환

ArrayList 개체의 AgentProfile입니다.

설명

이 메서드는 EnumAgentProfiles sysadmin 고정 서버 역할의 멤버 또는 replmonitor 고정 데이터베이스 역할의 멤버만 호출할 수 있습니다.

EnumAgentProfiles 메서드는 sp_help_agent_profile(Transact-SQL) 저장 프로시저를 실행하는 것과 같습니다.

적용 대상