AgentProfile.EnumParameters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns all existing parameters that are set for the replication agent profile.
public:
System::Collections::ArrayList ^ EnumParameters();
public System.Collections.ArrayList EnumParameters ();
member this.EnumParameters : unit -> System.Collections.ArrayList
Public Function EnumParameters () As ArrayList
Returns
An ArrayList of AgentProfileParameter objects.
Exceptions
When the profile represented by the object does not exist on the server.
Remarks
The EnumParameters method can be called only by members of the sysadmin
fixed server role at the Distributor and by members of the replmonitor
fixed database role on a database at the Distributor.
Calling EnumParameters is equivalent to executing sp_help_agent_parameter (Transact-SQL).