다음을 통해 공유


DbSyncColumnDescription.IsPrimaryKey 속성

이 열이 테이블에 대한 기본 키의 일부인지 여부를 가져오거나 설정합니다.

네임스페이스: Microsoft.Synchronization.Data
어셈블리: microsoft.synchronization.data.dll의 Microsoft.Synchronization.Data

구문

‘선언
<XmlAttributeAttribute("pk")> _
Public Property IsPrimaryKey As Boolean
‘사용 방법
Dim instance As DbSyncColumnDescription
Dim value As Boolean

value = instance.IsPrimaryKey

instance.IsPrimaryKey = value
[XmlAttributeAttribute("pk")] 
public bool IsPrimaryKey { get; set; }
[XmlAttributeAttribute(L"pk")] 
public:
property bool IsPrimaryKey {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_IsPrimaryKey ()

/** @property */
public void set_IsPrimaryKey (boolean value)
public function get IsPrimaryKey () : boolean

public function set IsPrimaryKey (value : boolean)

속성 값

이 열이 테이블에 대한 기본 키의 일부이면 true이고, 그렇지 않으면 false입니다.

참고 항목

참조

DbSyncColumnDescription 클래스
DbSyncColumnDescription 멤버
Microsoft.Synchronization.Data 네임스페이스