ProxyAccountCollection.Item-Eigenschaft (String)
Gets a ProxyAccount object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As ProxyAccount
Get
'Usage
Dim instance As ProxyAccountCollection
Dim name As String
Dim value As ProxyAccount
value = instance(name)
public ProxyAccount this[
string name
] { get; }
public:
property ProxyAccount^ default[String^ name] {
ProxyAccount^ get (String^ name);
}
member Item : ProxyAccount
JScript unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- name
Typ: System.String
A String value that specifies the name of the ProxyAccount object in the ProxyAccountCollection collection.
Eigenschaftswert
Typ: Microsoft.SqlServer.Management.Smo.Agent.ProxyAccount
A ProxyAccount object value that represents the proxy account.