DeleteAgentProfile Method
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
The DeleteAgentProfile method completely removes a replication agent profile.
Syntax
object.DeleteAgentPorfile(lProfileID)
Parts
object
Expression that evaluates to an object in the Applies To list.lProfileID
Long integer that specifies a replication agent profile by system-assigned identifier.
Prototype (C/C++)
HRESULT DeleteAgentProfile(long lProfileID);