GetSupportedScenarios Method

Returns the names of supported scenarios to the caller.

Visual Basic Syntax

GetSupportedScenarios( ) As String

Visual C++ Syntax

HRESULT GetSupportedScenarios

(

[out] BSTR   *pbstrScenarios

);

Parameters

pbstrScenarios

[out] List of scenario names separated by commas.

Return Values

The return value obtained from HRESULT is one of the following:

Return Value Meaning
S_OK

The scenarios were returned.

E_FAIL

The scenarios were not returned.