다음을 통해 공유


AgentProfile.Type 속성

Specifies whether the replication agent profile is pre-defined by replication or created by a user.

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

구문

‘선언
Public ReadOnly Property Type As AgentProfileTypeOption 
    Get
‘사용 방법
Dim instance As AgentProfile 
Dim value As AgentProfileTypeOption 

value = instance.Type
public AgentProfileTypeOption Type { get; }
public:
property AgentProfileTypeOption Type {
    AgentProfileTypeOption get ();
}
member Type : AgentProfileTypeOption
function get Type () : AgentProfileTypeOption

속성 값

유형: Microsoft.SqlServer.Replication.AgentProfileTypeOption
An AgentProfileTypeOption object value that specifies the type of agent profile.

주의

The Type property is a read-only property that is set by the server when the profile is created.

The Type property can be retrieved only by members of the sysadmin fixed server role at the Distributor or by members of the replmonitor fixed database role.

Retrieving Type is equivalent to executing sp_help_agent_profile(Transact-SQL).

참고 항목

참조

AgentProfile 클래스

Microsoft.SqlServer.Replication 네임스페이스

관련 자료

복제 에이전트 프로필 작업(RMO 프로그래밍)