EnumAgentParameters Method (SQL-DMO)

The EnumAgentParameters method returns a QueryResults object enumerating startup options settings for the replication agent when the agent is launched using the profile specified.

Applies To

Distributor Object

Syntax

object.EnumAgentParameters( ConfigurationID ) as QueryResults

Part Description
object Expression that evaluates to an object in the Applies To list
ConfigurationID Long integer identifying a replication agent profile by profile identifier

Returns

A QueryResults object containing one result set defined by these columns.

Column Data type Description
profile_id integer Profile identifier
parameter_name nvarchar(129) Parameter name
value nvarchar(256) Value in use for the parameter

Prototype (C/C++)

HRESULT EnumAgentParameters(
LPSQLDMOQUERYRESULTS* ppResults,
long lConfigurationID);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.