다음을 통해 공유


DataProvider.FieldCount 속성

Gets the number of columns in the current row. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 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
An integer that specifies the number of columns.

구현

IDataRecord.FieldCount

참고 항목

참조

DataProvider 클래스

Microsoft.SqlServer.Management.Sdk.Sfc 네임스페이스