AgentProfile.MakeDefault Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the profile as the default profile for all replication agents of the same type.
public:
void MakeDefault();
public void MakeDefault ();
member this.MakeDefault : unit -> unit
Public Sub MakeDefault ()
Exceptions
When the profile represented by the object does not exist on the server.
Remarks
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.