Udostępnij za pośrednictwem


ReplicationTable.HasIdentityColumn Property

Definition

Gets a value that indicates whether or not the table has at least one identity column.

public:
 property bool HasIdentityColumn { bool get(); };
public bool HasIdentityColumn { get; }
member this.HasIdentityColumn : bool
Public ReadOnly Property HasIdentityColumn As Boolean

Property Value

true if the table has an identity column; false if the table has no identity columns.

Remarks

The HasIdentityColumn property can be retrieved by members of the sysadmin fixed server role at the Publisher or by members of the db_owner fixed database role on the publication database.

Applies to