Expand Minimize

PrimaryKey element (DataRecordSet_Type complexType) ('Visio XML')

Office 2013

Last modified: January 09, 2014

Applies to: Office 2013 | Office 365 | Visio 2013

In this article
Element information
Definition
Elements and attributes

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

Element type

PrimaryKey_Type

Namespace

http://schemas.microsoft.com/office/visio/2012/main

Schema file

VisioSchema15.xsd

Document parts

recordsets.xml

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

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.

Show:
© 2015 Microsoft