次の方法で共有


FieldCount プロパティ

現在の行の列数を取得します。このメンバーをコード内で直接参照しないでください。このメンバーは、SQL Server インフラストラクチャをサポートしています。

名前空間:  Microsoft.SqlServer.Management.Sdk.Sfc
アセンブリ:  Microsoft.SqlServer.Management.Sdk.Sfc (Microsoft.SqlServer.Management.Sdk.Sfc.dll)

構文

'宣言
Public ReadOnly Property FieldCount As Integer
    Get
'使用
Dim instance As DataProvider
Dim value As Integer

value = instance.FieldCount
public int FieldCount { get; }
public:
virtual property int FieldCount {
    int get () sealed;
}
abstract FieldCount : int
override FieldCount : int
final function get FieldCount () : int

プロパティ値

型: System. . :: . .Int32
列数を示す整数です。

実装

IDataRecord. . :: . .FieldCount