AgentProfile.Remove 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.
Removes an existing replication agent profile from the Distributor.
public:
void Remove();
public void Remove ();
member this.Remove : unit -> unit
Public Sub Remove ()
Remarks
The Remove method can be called only by members of the sysadmin
fixed server role at the Distributor.
Calling Remove is equivalent to executing sp_drop_agent_profile (Transact-SQL).