Partilhar via


DataType.SqlToEnum(String) Method

Definition

Converts a string Sql Data Type name into the corresponding SqlDataType enum value. Returns SqlDataType.None if the name is an unknown type.

public static Microsoft.SqlServer.Management.Smo.SqlDataType SqlToEnum (string sqlTypeName);
static member SqlToEnum : string -> Microsoft.SqlServer.Management.Smo.SqlDataType
Public Shared Function SqlToEnum (sqlTypeName As String) As SqlDataType

Parameters

sqlTypeName
String

Returns

Applies to