InPrimaryKey プロパティ

列が主キーに参加しているかどうかを取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Replication
アセンブリ:  Microsoft.SqlServer.Rmo (Microsoft.SqlServer.Rmo.dll)

構文

'宣言
Public Property InPrimaryKey As Boolean
    Get
    Set
'使用
Dim instance As ReplicationColumn
Dim value As Boolean

value = instance.InPrimaryKey

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

プロパティ値

型: System. . :: . .Boolean
Boolean 値です。true の場合、参照されている列は、テーブルで定義されている主キーまたは一意キー制約の一部です。false の場合、参照されている列は、テーブルで定義されている主キーまたは一意キー制約の一部ではありません。

説明

この名前空間、クラス、またはメンバは、.NET Framework 2.0 でのみサポートされています。