UpdateDefaultAgentProfile 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 UpdateDefaultAgentProfile method updates the default replication agent profile.

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

Applies To: