共用方式為


ScalarMiningStructureColumn.IsKey 屬性

Gets or sets a value that indicates whether the column provides the key for the case in a ScalarMiningStructureColumn object.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.MiningModelColumnUsageTypeConverter, Microsoft.AnalysisServices.Design")> _
Public Property IsKey As Boolean 
    Get 
    Set
'用途
Dim instance As ScalarMiningStructureColumn 
Dim value As Boolean 

value = instance.IsKey

instance.IsKey = value
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.MiningModelColumnUsageTypeConverter, Microsoft.AnalysisServices.Design")]
public bool IsKey { get; set; }
[TypeConverterAttribute(L"Microsoft.AnalysisServices.Design.MiningModelColumnUsageTypeConverter, Microsoft.AnalysisServices.Design")]
public:
property bool IsKey {
    bool get ();
    void set (bool value);
}
[<TypeConverterAttribute("Microsoft.AnalysisServices.Design.MiningModelColumnUsageTypeConverter, Microsoft.AnalysisServices.Design")>]
member IsKey : bool with get, set
function get IsKey () : boolean 
function set IsKey (value : boolean)

屬性值

型別:System.Boolean
true if the column provides the key for the case in a ScalarMiningStructureColumn object; otherwise, false.

備註

One or more columns can be designated as key columns for each level of a nested table structure.

請參閱

參考

ScalarMiningStructureColumn 類別

Microsoft.AnalysisServices 命名空間