AvailabilityGroupCollection.Item Propiedad (String)
Gets an AvailabilityGroup object in the collection by name.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
name As String _
) As AvailabilityGroup
Get
'Uso
Dim instance As AvailabilityGroupCollection
Dim name As String
Dim value As AvailabilityGroup
value = instance(name)
public AvailabilityGroup this[
string name
] { get; }
public:
property AvailabilityGroup^ default[String^ name] {
AvailabilityGroup^ get (String^ name);
}
member Item : AvailabilityGroup
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System.String
The name of the availability group in the collection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.AvailabilityGroup
An availability group in the collection.