Share via


ChangeAgentProfile Method

Esta característica se quitará en una versión futura de Microsoft SQL Server. Evite utilizar esta característica en nuevos trabajos de desarrollo y tenga previsto modificar las aplicaciones que actualmente la utilizan.

The ChangeAgentProfile method modifies an existing replication agent profile.

Sintaxis

object.ChangeAgentProfile(lProfileID , bstrDescription)

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

  • lProfileID
    Long integer that identifies a replication agent profile.

  • bstrDescription
    String that contains descriptive text.

Prototype (C/C++)

HRESULT ChangeAgentProfile(long lProfileID,
SQLDMO_LPCSTR szDescription);

Applies to: