2.2.4.141 MetadataSearchCriteria

The MetadataSearchCriteria complex type represents the criteria for the MetadataGet operation. Each parameter is optional; those specified are combined with an AND. Leave all parameters empty to get all metadata.

The following is the XML schema definition of the MetadataSearchCriteria complex type.

 <xs:complexType name="MetadataSearchCriteria">
   <xs:complexContent mixed="false">
     <xs:extension xmlns:q999="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" base="q999:DataContractBase">
       <xs:sequence>
         <xs:element minOccurs="0" name="AttributeGroups" nillable="true" type="q999:ArrayOfIdentifier">
           <xs:annotation>
             <xs:appinfo>
               <DefaultValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/" EmitDefaultValue="false" />
             </xs:appinfo>
           </xs:annotation>
         </xs:element>
         <xs:element minOccurs="0" name="Attributes" nillable="true" type="q999:ArrayOfIdentifier">
           <xs:annotation>
             <xs:appinfo>
               <DefaultValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/" EmitDefaultValue="false" />
             </xs:appinfo>
           </xs:annotation>
         </xs:element>
         <xs:element minOccurs="0" name="DerivedHierarchies" nillable="true" type="q999:ArrayOfIdentifier">
           <xs:annotation>
             <xs:appinfo>
               <DefaultValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/" EmitDefaultValue="false" />
             </xs:appinfo>
           </xs:annotation>
         </xs:element>
         <xs:element minOccurs="0" name="DerivedHierarchyLevels" nillable="true" type="q999:ArrayOfIdentifier">
           <xs:annotation>
             <xs:appinfo>
               <DefaultValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/" EmitDefaultValue="false" />
             </xs:appinfo>
           </xs:annotation>
         </xs:element>
         <xs:element minOccurs="0" name="Entities" nillable="true" type="q999:ArrayOfIdentifier">
           <xs:annotation>
             <xs:appinfo>
               <DefaultValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/" EmitDefaultValue="false" />
             </xs:appinfo>
           </xs:annotation>
         </xs:element>
         <xs:element minOccurs="0" name="ExplicitHierarchies" nillable="true" type="q999:ArrayOfIdentifier">
           <xs:annotation>
             <xs:appinfo>
               <DefaultValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/" EmitDefaultValue="false" />
             </xs:appinfo>
           </xs:annotation>
         </xs:element>
         <xs:element minOccurs="0" name="MemberTypes" nillable="true" type="q999:ArrayOfMemberType">
           <xs:annotation>
             <xs:appinfo>
               <DefaultValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/" EmitDefaultValue="false" />
             </xs:appinfo>
           </xs:annotation>
         </xs:element>
         <xs:element minOccurs="0" name="Models" nillable="true" type="q999:ArrayOfIdentifier">
           <xs:annotation>
             <xs:appinfo>
               <DefaultValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/" EmitDefaultValue="false" />
             </xs:appinfo>
           </xs:annotation>
         </xs:element>
         <xs:element minOccurs="0" name="SearchOption" type="q999:SearchOption">
           <xs:annotation>
             <xs:appinfo>
               <DefaultValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/" EmitDefaultValue="false" />
             </xs:appinfo>
           </xs:annotation>
         </xs:element>
         <xs:element minOccurs="0" name="VersionFlags" nillable="true" type="q999:ArrayOfIdentifier">
           <xs:annotation>
             <xs:appinfo>
               <DefaultValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/" EmitDefaultValue="false" />
             </xs:appinfo>
           </xs:annotation>
         </xs:element>
         <xs:element minOccurs="0" name="Versions" nillable="true" type="q999:ArrayOfIdentifier">
           <xs:annotation>
             <xs:appinfo>
               <DefaultValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/" EmitDefaultValue="false" />
             </xs:appinfo>
           </xs:annotation>
         </xs:element>
       </xs:sequence>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>

AttributeGroups: Specifies the criteria to fill the AttributeGroups property.

Attributes: Specifies the criteria to fill the Attributes property.

DerivedHierarchies: Specifies the criteria to fill the DerivedHierarchies property.

DerivedHierarchyLevels: Specifies the criteria to fill the DerivedHierarchyLevels property.

Entities: Specifies the criteria to fill the Entities property.

ExplicitHierarchies: Specifies the criteria to fill the ExplicitHierarchies property.

MemberTypes: Specifies the criteria to fill the MemberTypes property.

Models: Specifies the criteria to fill the Models property.

SearchOption: Specifies the SearchOption that determines the objects to include in the search.

VersionFlags: Specifies the criteria to fill the VersionFlags property.

Versions: Specifies the criteria to fill the Versions property.