共用方式為


CollectionSet.ProxyName 屬性

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

命名空間:  Microsoft.SqlServer.Management.Collector
組件:  Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)

語法

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

屬性值

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

備註

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

請參閱

參考

CollectionSet 類別

Microsoft.SqlServer.Management.Collector 命名空間