Construtor DataType (SqlDataType, String)
Initializes a new instance of the DataType class based on a specified SQL Server data type with the specified type.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub New ( _
sqlDataType As SqlDataType, _
type As String _
)
'Uso
Dim sqlDataType As SqlDataType
Dim type As String
Dim instance As New DataType(sqlDataType, _
type)
public DataType(
SqlDataType sqlDataType,
string type
)
public:
DataType(
SqlDataType sqlDataType,
String^ type
)
new :
sqlDataType:SqlDataType *
type:string -> DataType
public function DataType(
sqlDataType : SqlDataType,
type : String
)
Parâmetros
- sqlDataType
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .SqlDataType
A SqlDataType object value that specifies the SQL Server data type.
- type
Tipo: System. . :: . .String
A String value that specifies the type of data type.
Consulte também