InPrimaryKey 属性

Gets or sets 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 中)

语法

声明
Property InPrimaryKey As Boolean
    Get
    Set
用法
Dim instance As IMutableColumn
Dim value As Boolean

value = instance.InPrimaryKey

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

属性值

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

实现

IColumn. . :: . .InPrimaryKey