2.2.5.29 SearchOption

The SearchOption simple type specifies the scope of metadata objects to be searched. SearchOption allows the exclusion or inclusion of user-created objects and system objects.

The following is the XML schema definition of the SearchOption simple type.

   <xs:simpleType name="SearchOption">
     <xs:restriction base="xs:string">
       <xs:enumeration value="UserDefinedObjectsOnly" />
       <xs:enumeration value="SystemObjectsOnly" />
       <xs:enumeration value="BothUserDefinedAndSystemObjects" />
     </xs:restriction>
   </xs:simpleType>

The values of the enumeration are described in the following table.

Value

Meaning

UserDefinedObjectsOnly

Return only user-defined objects. Exclude system objects.

SystemObjectsOnly

Return only system objects. Exclude user-defined objects.

BothUserDefinedAndSystemObjects

Return both user-defined and system objects.