Condividi tramite


Proprietà Value

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

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Sintassi

'Dichiarazione
Public Property Value As String
    Get
    Set
'Utilizzo
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)

Valore proprietà

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

Osservazioni

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.