Share via


DataProvider.Item Property (String)

Gets the object that specifies the string indexer. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

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

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

Parameters

Property Value

Type: System.Object
The object that specifies the string indexer.

Implements

IDataRecord.Item[String]