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