ManagedInstanceCollection.Item Propiedad (String)
Returns the managed instance with the specified name from the ManagedInstanceCollection.
Espacio de nombres: Microsoft.SqlServer.Management.Utility
Ensamblado: Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
name As String _
) As ManagedInstance
Get
'Uso
Dim instance As ManagedInstanceCollection
Dim name As String
Dim value As ManagedInstance
value = instance(name)
public ManagedInstance this[
string name
] { get; }
public:
property ManagedInstance^ default[String^ name] {
ManagedInstance^ get (String^ name);
}
member Item : ManagedInstance
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System.String
A String value that specifies the name of the managed instance to get from the collection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Utility.ManagedInstance
A ManagedInstance object with the specified name. If the object with the specified name is not part of the collection, this method will return nulles una referencia NULL (Nothing en Visual Basic)..