The UpdateDefaultAgentProfile method updates the default replication agent profile.
object.UpdateDefaultAgentProfile( ProfileID )
object
Expression that evaluates to an object in the Applies To list
ProfileID
Long integer
HRESULT UpdateDefaultAgentProfile(
long lProfileID);