PrimaryKey element (DataRecordSet_Type complexType) (Visio XML)

Identifies one or more primary-key columns in the data recordset.

Element information

Value
Element type
PrimaryKey_Type
Namespace
http://schemas.microsoft.com/office/visio/2012/main
Schema file
VisioSchema15.xsd
Document parts
recordsets.xml

Definition

< xs:element name="PrimaryKey" type="PrimaryKey_Type" minOccurs="0" maxOccurs="unbounded" >
</xs:element >

Elements and attributes

If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.

Parent elements

Element Type Description
DataRecordSet
DataRecordSet_Type
Stores, formats, refreshes, and exposes data queried from a database in Microsoft Visio.

Child elements

Element Type Description
RowKeyValue
RowKeyValue_Type
Specifies the value of this component of the primary key for an individual row of a recordset. There MUST be at least one occurrence of this child element.

Attributes

Attribute Type Required Description Possible values
ColumnNameID
xsd:string
optional
Specifies the name of a field that is a component of the primary key. It MUST be the value of the ColumnNameID attribute of a DataColumn_Type descendant element of the DataRecordSet_Type whose primary key is being specified. Values of the xsd:string type.