다음을 통해 공유


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