次の方法で共有


ReplicationColumn.IsIdentity プロパティ

この列が ID 列かどうかを取得します。値の設定も可能です。

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

構文

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

value = instance.IsIdentity

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

プロパティ値

型: System.Boolean
Boolean 値です。true の場合、参照されている列は ID 列です。false の場合、参照されている列は ID 列ではありません。

説明

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

関連項目

参照

ReplicationColumn クラス

Microsoft.SqlServer.Replication 名前空間