此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Gets name of the data type of the specified column.
命名空间: Microsoft.SqlServer.Replication.BusinessLogicSupport
程序集: Microsoft.SqlServer.Replication.BusinessLogicSupport(在 Microsoft.SqlServer.Replication.BusinessLogicSupport.dll 中)
语法
声明
Public Function GetDataTypeName ( _
i As Integer _
) As String
用法
Dim instance As BusinessLogicDataReader
Dim i As Integer
Dim returnValue As String
returnValue = instance.GetDataTypeName(i)
public string GetDataTypeName(
int i
)
public:
virtual String^ GetDataTypeName(
int i
) sealed
abstract GetDataTypeName :
i:int -> string
override GetDataTypeName :
i:int -> string
public final function GetDataTypeName(
i : int
) : String
参数
- i
类型:System.Int32
The zero-based column ordinal.
返回值
类型:System.String
A string representing the name of the data type.
实现
IDataRecord.GetDataTypeName(Int32)