The DeleteAgentProfile method completely removes a replication agent profile.
Distributor Object
object.DeleteAgentPorfile(lProfileID)
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| lProfileID | Long integer specifying a replication agent profile by system-assigned identifier |
HRESULT DeleteAgentProfile(long lProfileID);