Partager via


Propriété ProxyName

Obtient ou définit le nom du compte proxy de l'Agent SQL Server sous lequel le jeu d'éléments de collecte s'exécute.

Espace de noms :  Microsoft.SqlServer.Management.Collector
Assembly :  Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(Required := False)> _
Public Property ProxyName As String
    Get
    Set
'Utilisation
Dim instance As CollectionSet
Dim value As String

value = instance.ProxyName

instance.ProxyName = value
[SfcPropertyAttribute(Required = false)]
public string ProxyName { get; set; }
[SfcPropertyAttribute(Required = false)]
public:
property String^ ProxyName {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(Required = false)>]
member ProxyName : string with get, set
function get ProxyName () : String
function set ProxyName (value : String)

Valeur de propriété

Type : System. . :: . .String
Valeur String qui est le nom du compte proxy.

Notes

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