Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Gets the number of fields in the data reader.
Espace de noms : Microsoft.ReportingServices.DataProcessing
Assemblys : Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
Microsoft.ReportingServices.Interfaces (en Microsoft.ReportingServices.Interfaces.dll)
Syntaxe
'Déclaration
ReadOnly Property FieldCount As Integer
Get
'Utilisation
Dim instance As IDataReader
Dim value As Integer
value = instance.FieldCount
int FieldCount { get; }
property int FieldCount {
int get ();
}
abstract FieldCount : int
function get FieldCount () : int
Valeur de propriété
Type : System.Int32
When not positioned in a valid recordset, 0; otherwise the number of columns in the current record. The default value is -1.
Notes
After executing a query that does not return rows, FieldCount returns -1.