UpdateDefaultAgentProfile Method

SQL-DMO

SQL-DMO

UpdateDefaultAgentProfile Method

The UpdateDefaultAgentProfile method updates the default replication agent profile.

Applies To
Distributor Object  
Syntax

object.UpdateDefaultAgentProfile( ProfileID )

Parts

object

Expression that evaluates to an object in the Applies To list

ProfileID

Long integer

Prototype (C/C++)

HRESULT UpdateDefaultAgentProfile(
long lProfileID);