Share via


CollectionSet.ProxyName Property

Gets or sets the name of the SQL Server Agent proxy account under which the collection set executes.

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Syntax

'Declaration
<SfcPropertyAttribute(Required := False)> _
Public Property ProxyName As String
    Get
    Set
'Usage
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)

Property Value

Type: System.String
A String value that is the name of the proxy account.

Remarks

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