SPUtility.ParseSqlType 方法

请注意:此 API 现在已过时。

将一个SqlDbType枚举值的字符串表示形式转换为SqlDbType枚举值。

命名空间:  Microsoft.SharePoint.Utilities
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<ObsoleteAttribute("Reserved for internal use only.")> _
Public Shared Function ParseSqlType ( _
    type As String _
) As SqlDbType
用法
Dim type As String
Dim returnValue As SqlDbType

returnValue = SPUtility.ParseSqlType(type)
[ObsoleteAttribute("Reserved for internal use only.")]
public static SqlDbType ParseSqlType(
    string type
)

参数

  • type
    类型:System.String

    SqlDbType枚举值的字符串表示形式。

返回值

类型:System.Data.SqlDbType
枚举值。

另请参阅

引用

SPUtility 类

SPUtility 成员

Microsoft.SharePoint.Utilities 命名空间