IGlobalVariables.DeleteVariable Method

Deletes a global variable.
Sub DeleteVariable( _ 
ByVal variableName As String
)
This language is not supported or no code example is available.
void DeleteVariable( 
string variableName 
)
This language is not supported or no code example is available.

Parameters

variableName
string

The name of the global variable.

Exception type Condition

QdvApiException

Cannot delete variable.

ArgumentException

The specified global variable doesn't exist.

Remarks
 
Only variables with 'GLV_', 'MGT_', 'PMP_' prefixes can be deleted. Variables with 'SYS_' cannot be deleted.
Version
 
Available since QDV 7.13.0001.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition