Share via


AgentProfileParameter.Value Property

Gets or sets the value of the parameter in a replication agent profile.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Property Value As String 
    Get 
    Set
'Usage
Dim instance As AgentProfileParameter 
Dim value As String 

value = instance.Value

instance.Value = value
public string Value { get; set; }
public:
property String^ Value {
    String^ get ();
    void set (String^ value);
}
member Value : string with get, set
function get Value () : String 
function set Value (value : String)

Property Value

Type: System.String
An String value that specifies the value.

Remarks

Any user can get or set the Value property. However, only members of the sysadmin role at the Distributor can change a replication profile on the server.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

See Also

Reference

AgentProfileParameter Class

Microsoft.SqlServer.Replication Namespace

Other Resources

Work with Replication Agent Profiles (RMO Programming)