Share via


AvailabilityReplicaCollection.Item Property (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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Smo.AvailabilityReplica
The specified item from the collection.

See Also

Reference

AvailabilityReplicaCollection Class

Item Overload

Microsoft.SqlServer.Management.Smo Namespace