DataType コンストラクター (SqlDataType, String, String)
指定された SQL Server データ型に基づき、指定された型とスキーマを使用して、DataType クラスの新しいインスタンスを初期化します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Public Sub New ( _
sqlDataType As SqlDataType, _
type As String, _
schema As String _
)
'使用
Dim sqlDataType As SqlDataType
Dim type As String
Dim schema As String
Dim instance As New DataType(sqlDataType, _
type, schema)
public DataType(
SqlDataType sqlDataType,
string type,
string schema
)
public:
DataType(
SqlDataType sqlDataType,
String^ type,
String^ schema
)
new :
sqlDataType:SqlDataType *
type:string *
schema:string -> DataType
public function DataType(
sqlDataType : SqlDataType,
type : String,
schema : String
)
パラメーター
- sqlDataType
型: Microsoft.SqlServer.Management.Smo. . :: . .SqlDataType
SQL Server データ型を示す SqlDataType オブジェクト値です。
- type
型: System. . :: . .String
データ型の種類を示す String 値です。
- schema
型: System. . :: . .String
データ型のスキーマを示す String 値です。