共用方式為


IUniqueConstraint.GetIsPrimaryKey 方法

定義

取得值,指出這個條件約束是否為主鍵。

public virtual bool GetIsPrimaryKey ();
abstract member GetIsPrimaryKey : unit -> bool
override this.GetIsPrimaryKey : unit -> bool
Public Overridable Function GetIsPrimaryKey () As Boolean

傳回

true 如果條件約束是主鍵,則為

適用於