Partager via


Propriété AgentProfileParameter.Value

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

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public Property Value As String 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Notes

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.

Voir aussi

Référence

AgentProfileParameter Classe

Espace de noms Microsoft.SqlServer.Replication

Autres ressources

Utiliser des profils d'agent de réplication (programmation RMO)