HeterogeneousColumn.IsPrimaryKey 속성

Sets or gets whether there is a primary key constraint defined on the column.

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

구문

‘선언
Public Property IsPrimaryKey As Boolean 
    Get 
    Set
‘사용 방법
Dim instance As HeterogeneousColumn 
Dim value As Boolean 

value = instance.IsPrimaryKey

instance.IsPrimaryKey = value
public bool IsPrimaryKey { get; set; }
public:
property bool IsPrimaryKey {
    bool get ();
    void set (bool value);
}
member IsPrimaryKey : bool with get, set
function get IsPrimaryKey () : boolean 
function set IsPrimaryKey (value : boolean)

속성 값

유형: System.Boolean
A Boolean value.If true, there is a primary key constraint defined on the column.If false, there is no primary key.

주의

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

참고 항목

참조

HeterogeneousColumn 클래스

Microsoft.SqlServer.Replication 네임스페이스