Share via


ObjectSetCollection.Item Property (String)

Gets a ObjectSet object in the collection by name.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As ObjectSet
    Get
'Usage
Dim instance As ObjectSetCollection
Dim name As String
Dim value As ObjectSet

value = instance(name)
public ObjectSet this[
    string name
] { get; }
public:
property ObjectSet^ default[String^ name] {
    ObjectSet^ get (String^ name);
}
member Item : ObjectSet
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Dmf.ObjectSet
An ObjectSet object value that represents the object set that has the specified name.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.