次の方法で共有


IsPrimaryKey プロパティ

この列がテーブルの主キーの一部であるかどうかを示す値を取得または設定します。

名前空間:  Microsoft.Synchronization.Data
アセンブリ:  Microsoft.Synchronization.Data (Microsoft.Synchronization.Data.dll 内)

構文

'宣言
Public Property IsPrimaryKey As Boolean
    Get
    Set
'使用
Dim instance As DbSyncColumnDescription
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
この列がテーブルの主キーの一部である場合は true。それ以外の場合は false。

参照

参照

DbSyncColumnDescriptionクラス

DbSyncColumnDescription メンバー

Microsoft.Synchronization.Data 名前空間