Syntax
Visual Basic (Declaration) | |
---|
<SoapHeaderAttribute(MemberName="CallOptionsValue",
Direction=SoapHeaderDirection.In,
Required=True)>
<SoapHeaderAttribute(Direction=SoapHeaderDirection.In,
MemberName="SessionHeaderValue",
Required=True)>
<SoapHeaderAttribute(Direction=SoapHeaderDirection.Out,
MemberName="LimitInfoHeaderValue",
Required=True)>
<SoapHeaderAttribute(Direction=SoapHeaderDirection.In,
MemberName="QueryOptionsValue",
Required=True)>
<SoapHeaderAttribute(Direction=SoapHeaderDirection.In,
MemberName="MruHeaderValue",
Required=True)>
<SoapHeaderAttribute(Direction=SoapHeaderDirection.In,
MemberName="PackageVersionHeaderValue",
Required=True)>
<SoapDocumentMethodAttribute(RequestNamespace="urn:partner.soap.sforce.com",
ResponseNamespace="urn:partner.soap.sforce.com",
Use=SoapBindingUse.Literal,
ParameterStyle=SoapParameterStyle.Wrapped)>
Public Function retrieve( _
ByVal fieldList As String, _
ByVal sObjectType As String, _
ByVal ids() As String _
) As sObject() |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SforceService
Dim fieldList As String
Dim sObjectType As String
Dim ids() As String
Dim value() As sObject
value = instance.retrieve(fieldList, sObjectType, ids) |
C# | |
---|
[SoapHeaderAttribute(MemberName="CallOptionsValue",
Direction=SoapHeaderDirection.In,
Required=true)]
[SoapHeaderAttribute(Direction=SoapHeaderDirection.In,
MemberName="SessionHeaderValue",
Required=true)]
[SoapHeaderAttribute(Direction=SoapHeaderDirection.Out,
MemberName="LimitInfoHeaderValue",
Required=true)]
[SoapHeaderAttribute(Direction=SoapHeaderDirection.In,
MemberName="QueryOptionsValue",
Required=true)]
[SoapHeaderAttribute(Direction=SoapHeaderDirection.In,
MemberName="MruHeaderValue",
Required=true)]
[SoapHeaderAttribute(Direction=SoapHeaderDirection.In,
MemberName="PackageVersionHeaderValue",
Required=true)]
[SoapDocumentMethodAttribute(RequestNamespace="urn:partner.soap.sforce.com",
ResponseNamespace="urn:partner.soap.sforce.com",
Use=SoapBindingUse.Literal,
ParameterStyle=SoapParameterStyle.Wrapped)]
public sObject[] retrieve(
string fieldList,
string sObjectType,
string[] ids
) |
Managed Extensions for C++ | |
---|
[SoapHeaderAttribute(MemberName="CallOptionsValue",
Direction=SoapHeaderDirection.In,
Required=true)]
[SoapHeaderAttribute(Direction=SoapHeaderDirection.In,
MemberName="SessionHeaderValue",
Required=true)]
[SoapHeaderAttribute(Direction=SoapHeaderDirection.Out,
MemberName="LimitInfoHeaderValue",
Required=true)]
[SoapHeaderAttribute(Direction=SoapHeaderDirection.In,
MemberName="QueryOptionsValue",
Required=true)]
[SoapHeaderAttribute(Direction=SoapHeaderDirection.In,
MemberName="MruHeaderValue",
Required=true)]
[SoapHeaderAttribute(Direction=SoapHeaderDirection.In,
MemberName="PackageVersionHeaderValue",
Required=true)]
[SoapDocumentMethodAttribute(RequestNamespace="urn:partner.soap.sforce.com",
ResponseNamespace="urn:partner.soap.sforce.com",
Use=SoapBindingUse.Literal,
ParameterStyle=SoapParameterStyle.Wrapped)]
public: sObject*[]* retrieve(
string* fieldList,
string* sObjectType,
string*[]* ids
) |
C++/CLI | |
---|
[SoapHeaderAttribute(MemberName="CallOptionsValue",
Direction=SoapHeaderDirection.In,
Required=true)]
[SoapHeaderAttribute(Direction=SoapHeaderDirection.In,
MemberName="SessionHeaderValue",
Required=true)]
[SoapHeaderAttribute(Direction=SoapHeaderDirection.Out,
MemberName="LimitInfoHeaderValue",
Required=true)]
[SoapHeaderAttribute(Direction=SoapHeaderDirection.In,
MemberName="QueryOptionsValue",
Required=true)]
[SoapHeaderAttribute(Direction=SoapHeaderDirection.In,
MemberName="MruHeaderValue",
Required=true)]
[SoapHeaderAttribute(Direction=SoapHeaderDirection.In,
MemberName="PackageVersionHeaderValue",
Required=true)]
[SoapDocumentMethodAttribute(RequestNamespace="urn:partner.soap.sforce.com",
ResponseNamespace="urn:partner.soap.sforce.com",
Use=SoapBindingUse.Literal,
ParameterStyle=SoapParameterStyle.Wrapped)]
public:
array<sObject^>^ retrieve(
String^ fieldList,
String^ sObjectType,
array<String^>^ ids
) |
Parameters
- fieldList
- sObjectType
- ids
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family
See Also