Partilhar via


Propriedade Value

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

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

Sintaxe

'Declaração
Public Property Value As String
    Get
    Set
'Uso
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)

Valor da propriedade

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

Comentários

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.