Sdílet prostřednictvím


ScalarMiningStructureColumn.IsKey Property

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

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.MiningModelColumnUsageTypeConverter, Microsoft.AnalysisServices.Design")> _
Public Property IsKey As Boolean
    Get
    Set
'Usage
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)

Property Value

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

Remarks

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