共用方式為


SqlMetaData.IsUniqueKey 屬性

定義

指出資料表值參數中的資料行是否是唯一的。

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

屬性值

Boolean 值。

備註

預設為 FALSE

此屬性只能在其中一個建 SqlMetaData 構函式中設定。

如需詳細資訊,請參閱 資料表值參數

適用於