共用方式為


ReplicationColumn.IsIdentity 屬性

Gets or sets whether this column is an identity column or not.

命名空間:  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
A Boolean value. If true, the referenced column is an identity column. If false, the referenced column is not an identity column.

備註

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

請參閱

參考

ReplicationColumn 類別

Microsoft.SqlServer.Replication 命名空間