Dela via


DataProvider.GetString Method

Returns data for the specified column with the given type. 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 GetString ( _
    i As Integer _
) As String
'Usage
Dim instance As DataProvider
Dim i As Integer
Dim returnValue As String

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

Parameters

Return Value

Type: System.String
The value of the specified column.

Implements

IDataRecord.GetString(Int32)