InPrimaryKey 属性

Gets a value that indicates whether the column is included in the definition of a PRIMARY KEY or UNIQUE constraint.

命名空间:  Microsoft.SqlServer.Management.SqlParser.Metadata
程序集:  Microsoft.SqlServer.Management.SqlParser(在 Microsoft.SqlServer.Management.SqlParser.dll 中)

语法

声明
ReadOnly Property InPrimaryKey As Boolean
    Get
用法
Dim instance As IColumn
Dim value As Boolean

value = instance.InPrimaryKey
bool InPrimaryKey { get; }
property bool InPrimaryKey {
    bool get ();
}
abstract InPrimaryKey : bool
function get InPrimaryKey () : boolean

属性值

类型:System. . :: . .Boolean
true if the column is included in the definition of a PRIMARY KEY or UNIQUE constraint; otherwise, false.