JobStep.ProxyName-Eigenschaft
Gets or sets the name of the Microsoft SQL Server Agent proxy account that is required by the job step.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ProxyName As String
Get
Set
'Usage
Dim instance As JobStep
Dim value As String
value = instance.ProxyName
instance.ProxyName = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string ProxyName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ ProxyName {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ProxyName : string with get, set
function get ProxyName () : String
function set ProxyName (value : String)
Eigenschaftswert
Typ: System.String
A String value that specifies the name of the proxy account.
Hinweise
Diese Eigenschaft wurde in SQL Server 2005 eingeführt.
Beispiele
Planen von automatischen, administrativen Tasks im SQL Server-Agent
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo.Agent-Namespace