ManagedInstanceCollection.Item[String] Property

Definition

Returns the managed instance with the specified name from the ManagedInstanceCollection.

public:
 property Microsoft::SqlServer::Management::Utility::ManagedInstance ^ default[System::String ^] { Microsoft::SqlServer::Management::Utility::ManagedInstance ^ get(System::String ^ name); };
public Microsoft.SqlServer.Management.Utility.ManagedInstance this[string name] { get; }
member this.Item(string) : Microsoft.SqlServer.Management.Utility.ManagedInstance
Default Public ReadOnly Property Item(name As String) As ManagedInstance

Parameters

name
String

A String value that specifies the name of the managed instance to get from the collection.

Property Value

A ManagedInstance object with the specified name. If the object with the specified name is not part of the collection, this method will return null.

Applies to