The EnumAgentParameters method returns a QueryResults object enumerating startup options settings for the replication agent when the agent is launched using the profile specified.
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 |
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 |
HRESULT EnumAgentParameters(
LPSQLDMOQUERYRESULTS* ppResults,
long lConfigurationID);