Share via


AgentProfile.Remove Method

Definition

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).

Applies to

See also