次の方法で共有


Type プロパティ

制約の種類を示す ConstraintType 値を取得します。

名前空間:  Microsoft.SqlServer.Management.SqlParser.Metadata
アセンブリ:  Microsoft.SqlServer.Management.SqlParser (Microsoft.SqlServer.Management.SqlParser.dll)

構文

'宣言
ReadOnly Property Type As ConstraintType
    Get
'使用
Dim instance As IConstraint
Dim value As ConstraintType

value = instance.Type
ConstraintType Type { get; }
property ConstraintType Type {
    ConstraintType get ();
}
abstract Type : ConstraintType
function get Type () : ConstraintType

プロパティ値

型: Microsoft.SqlServer.Management.SqlParser.Metadata. . :: . .ConstraintType
制約の種類を示す列挙値のいずれかです。