다음을 통해 공유


MakeDefault 메서드

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

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

구문

‘선언
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.

This namespace, class, or member is supported only in the .NET Framework 2.0.