Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
The name of the item.
Property Value
Type: Microsoft.SqlServer.Management.Smo.AvailabilityReplica
The specified item from the collection.