IAdsHandleAccess.DeleteVariableHandle Method

Releases the handle of a ADS variable again.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

void DeleteVariableHandle(
    int variableHandle
)

VB

Sub DeleteVariableHandle ( 
    variableHandle As Integer
)

Parameters

variableHandle

Type: System.Int32
Handle of the ADS variable

Exceptions

Exception

Condition

AdsErrorException

Thrown when the ADS call fails.

Reference

IAdsHandleAccess Interface

TwinCAT.Ads Namespace