DataType.SqlToEnum(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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