|
|
|
|
- Properties specific to sfDisconnectResult variables
- Functions that handle the sfDisconnectResult type
sfDisconnectResult (Type of variable) In french: sfRésultatDéconnecte
The sfDisconnectResult type is used to get the status report of SFDisconnect when disconnecting from a session. The characteristics of this type of variable can be defined and changed using different WLanguage properties. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
// Connect to Salesforce Cnt is sfConnection Cnt.Login = "balthazar@gmail.com" Cnt.Password = "qwerty" + "XXB12VCZ54" IF SFConnect(Cnt) = False THEN Error("The connection failed") RETURN END ... // Disconnection (second syntax) MySessions is array of strings Add(MySessions, Cnt.SessionInfo.SessionID) MyResult is array of sfDisconnectResult IF SFDisconnect(Cnt, MySessions, MyResult) = False THEN Error("A disconnection failed") Trace(MyResult[1].Success) // Displays 0 END
Remarks Properties specific to sfDisconnectResult variables The following properties can be used to handle the status report of SFDisconnect: | | | Property name | Type used | Effect |
---|
Error | Array of sfError | Status report of errors. | Success | Boolean | - True if the disconnection was performed,
- False otherwise.
This property is read-only. |
Functions that handle the sfDisconnectResult type | | SFDisconnect | Disconnects: - the Salesforce platform.
- the current Salesforce session.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|