Specifying or Retrieving whether a Certain AS2 Outbound Profile is to be Used (UseClientProfile)

icon_info.gif

Available in EFT Server 6.1 and later.

The ICIAS2SendActionParams::UseClientProfile Boolean property allows you to specify and retrieve whether a whole AS2 Outbound Profile of certain EFT Server client will be used for this AS2 Send operation. Otherwise, you must explicitly specify each AS2 Send parameter. (Refer also to the  ICIAS2SendActionParams::ClientProfile property.)

HRESULT UseClientProfile([out, retval] VARIANT_BOOL* pVal);

HRESULT UseClientProfile([in] VARIANT_BOOL newVal);

Example (VBScript):

Retrieving:

If Not AS2SendParams.UseClientProfile Then

‘ Specify each AS2 Send parameter

End If

Specifying:

AS2SendParams.UseClientProfile = True