AvailabilityReplicaCollection.Item-Eigenschaft (String)
Gets the specified item from the collection with the specified name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As AvailabilityReplica
Get
'Usage
Dim instance As AvailabilityReplicaCollection
Dim name As String
Dim value As AvailabilityReplica
value = instance(name)
public AvailabilityReplica this[
string name
] { get; }
public:
property AvailabilityReplica^ default[String^ name] {
AvailabilityReplica^ get (String^ name);
}
member Item : AvailabilityReplica
JScript unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- name
Typ: System.String
The name of the item.
Eigenschaftswert
Typ: Microsoft.SqlServer.Management.Smo.AvailabilityReplica
The specified item from the collection.