2.2.4.45 MethodInstanceStruct

Namespace: Microsoft.SharePoint.BusinessData

The MethodInstanceStruct complex type contains information about a MethodInstance.

 <xs:complexType name="MethodInstanceStruct" xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:complexContent mixed="false">
     <xs:extension base="q5:MetadataObjectStruct">
       <xs:sequence>
         <xs:element minOccurs="0" name="isDefault" type="xs:boolean"/>
         <xs:element minOccurs="0" name="methodId" type="xs:unsignedInt"/>
         <xs:element xmlns:tns1="http://schemas.datacontract.org/2004/07/Microsoft.BusinessData.MetadataModel" minOccurs="0" name="methodInstanceType" type="tns1:MethodInstanceType"/>
         <xs:element minOccurs="0" name="returnTypeDescriptorId" type="xs:unsignedInt"/>
       </xs:sequence>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>

isDefault:  A value which specifies if the MethodInstance is the default one among the MethodInstances of the same time that are contained by the DataClass that contains this MethodInstance. This element MUST be present. The value MUST be in the following table.

Value

Description

False

The MethodInstance is not the default one.

True

The MethodInstance is the default one.

 

methodId: The MetadataObjectId of the Method that contains the MethodInstance. This element MUST be present.

methodInstanceType: The type of the MethodInstance. This element MUST be present. The value of this element MUST NOT be NULL. The value MUST be a methodInstanceType from the http://schemas.datacontract.org/2004/07/Microsoft.BusinessData.MetadataModel namespace.

returnTypeDescriptorId: The MetadataObjectId of the ReturnTypeDescriptor of the MethodInstance. This element MUST be present.