Partager via


Propriété IsKey

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

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

Valeur de propriété

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

Notes

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