Share via


AgentProfile.MakeDefault 메서드

Sets the profile as the default profile for all replication agents of the same type.

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

구문

‘선언
Public Sub MakeDefault
‘사용 방법
Dim instance As AgentProfile

instance.MakeDefault()
public void MakeDefault()
public:
void MakeDefault()
member MakeDefault : unit -> unit
public function MakeDefault()

예외

예외 조건
ApplicationException

When the profile represented by the object does not exist on the server.

주의

The profile must be created on the server before performing this operation.

The MakeDefault method can be called only by members of the sysadmin fixed server role at the Distributor.

참고 항목

참조

AgentProfile 클래스

Microsoft.SqlServer.Replication 네임스페이스