element <key> (local)
Namespace:
Type:
anonymous complexType
Content:
empty, 3 attributes
Defined:
locally within serviceType complexType in myServices.xsd; see XML source
Includes:
definitions of 3 attributes
XML Representation Summary
<key
   
 = 
xsd:string
 = 
xsd:string
 = 
xsd:string
/>
Included in content model of elements (1):
service (in myServices)
Annotation
This element specifies key information used to zoom in on the document being manipulated. This information includes the PUID that owns the document, the instance id of the document, and the cluster or partition key used to locate the machine resources that hold the document. <p/> In certain situations, a client will want to send the same message to a number a instances of a particular service. In order to do this, the client may repeat this element multiple times. The cluster attributes in all elements must match each other, but the puid and instance attributes may differ. A unique response message is generated for each key specified. <p/> The entire contents of this element come from the .NET Services service.
XML Source (see within schema source)
<xsd:element maxOccurs="1" minOccurs="0" name="key">
<xsd:annotation>
<xsd:documentation>
This element specifies key information used to zoom in on the document being manipulated.
This information includes the PUID that owns the document, the instance id of the document,
and the cluster or partition key used to locate the machine resources that hold the document.
<p/>
In certain situations, a client will want to send the same message to a number a instances of a particular
service. In order to do this, the client may repeat this element multiple times. The cluster
attributes in all elements must match each other, but the puid and instance attributes may differ. A
unique response message is generated for each key specified.
<p/>
The entire contents of this element come from the .NET Services service.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="puid" type="hs:puidType" use="required">
<xsd:annotation>
<xsd:documentation>
This element specifies the PUID of the entity that "owns" the service being accessed. In
the case of a "myProfile" service, this element is equivalent to the "my".
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="instance" type="hs:string" use="required">
<xsd:annotation>
<xsd:documentation>
This element specifies the particular instance of the service for this id being accessed.
For example, if a given id is provisioned with multiple .NET Calendar documents on the same
cluster and in the same data center, the documents would differ only by this value.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="cluster" type="hs:string" use="required">
<xsd:annotation>
<xsd:documentation>
This element specifies information used by the .NET My Services system to locate the document on
a particular back-end server or database. It is used as the virtual partition key for the
document being addressed. This technique is preferable to computing this partition key based
on some hash of the puid/instance.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
Attribute Detail (all declarations; 3/3)
cluster
Type:
Use:
required
Defined:
locally within (this) key element
This element specifies information used by the .NET My Services system to locate the document on a particular back-end server or database. It is used as the virtual partition key for the document being addressed. This technique is preferable to computing this partition key based on some hash of the puid/instance.
XML Source (see within schema source)
<xsd:attribute name="cluster" type="hs:string" use="required">
<xsd:annotation>
<xsd:documentation>
This element specifies information used by the .NET My Services system to locate the document on
a particular back-end server or database. It is used as the virtual partition key for the
document being addressed. This technique is preferable to computing this partition key based
on some hash of the puid/instance.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>

instance
Type:
Use:
required
Defined:
locally within (this) key element
This element specifies the particular instance of the service for this id being accessed. For example, if a given id is provisioned with multiple .NET Calendar documents on the same cluster and in the same data center, the documents would differ only by this value.
XML Source (see within schema source)
<xsd:attribute name="instance" type="hs:string" use="required">
<xsd:annotation>
<xsd:documentation>
This element specifies the particular instance of the service for this id being accessed.
For example, if a given id is provisioned with multiple .NET Calendar documents on the same
cluster and in the same data center, the documents would differ only by this value.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>

puid
Type:
Use:
required
Defined:
locally within (this) key element
This element specifies the PUID of the entity that "owns" the service being accessed. In the case of a "myProfile" service, this element is equivalent to the "my".
XML Source (see within schema source)
<xsd:attribute name="puid" type="hs:puidType" use="required">
<xsd:annotation>
<xsd:documentation>
This element specifies the PUID of the entity that "owns" the service being accessed. In
the case of a "myProfile" service, this element is equivalent to the "my".
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>