Share via


DataProvider.GetName Method

Retrieves a column name for the specified ordinal. 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 Function GetName ( _
    i As Integer _
) As String
'Usage
Dim instance As DataProvider
Dim i As Integer
Dim returnValue As String

returnValue = instance.GetName(i)
public string GetName(
    int i
)
public:
virtual String^ GetName(
    int i
) sealed
abstract GetName : 
        i:int -> string 
override GetName : 
        i:int -> string 
public final function GetName(
    i : int
) : String

Parameters

Return Value

Type: System.String
A string value that specifies the column name.

Implements

IDataRecord.GetName(Int32)