Partilhar via


Key Element (XMLA)

Contains a member key value for an attribute member.

Syntax

<Keys>
   ...
   <Key>...</Key>
   ...
</Keys>

Element Characteristics

Characteristic Description

Data type and length

Any

Default value

None

Cardinality

0-n: Optional element that can occur more than once.

Element Relationships

Relationship Element

Parent elements

Keys

Child elements

None

Remarks

The data type used by this element should match the data type of the appropriate key column of the specified attribute. If Key elements are not specified for a parent Attribute element, the AttributeName and Name elements specified in the parent Attribute element are used to identify the attribute member to be modified.

See Also

Reference

Attribute Element (XMLA)
AttributeName Element (XMLA)
Drop Element (XMLA)
Insert Element (XMLA)
Update Element (XMLA)
Where Element (XMLA)

Concepts

Properties (XMLA)

Other Resources

KeyColumn Element (ASSL)

Help and Information

Getting SQL Server 2005 Assistance