共用方式為


ProxyName 屬性

Gets or sets the name of the Microsoft SQL Server Agent proxy account that is required by the job step.

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

語法

'宣告
<SfcPropertyAttribute> _
Public Property ProxyName As String
    Get
    Set
'用途
Dim instance As JobStep
Dim value As String

value = instance.ProxyName

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

屬性值

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

備註

此屬性是在 SQL Server 2005 中導入。