Partager via


Méthode GetString

Returns data for the specified column with the given type. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Function GetString ( _
    i As Integer _
) As String
'Utilisation
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

Paramètres

Valeur de retour

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

Implémente

IDataRecord. . :: . .GetString(Int32)