gOPCUAConnector.gKillSubscription Method

Top  Previous  Next

Description

Deletes a subscription (connection or monitoring).

 

VB syntax

gOPCUAConnector.gKillSubscription(subscriptionID As String)

 

C# syntax

gOPCUAConnector.gKillSubscription(string subscriptionID)

 

Parameters

subscriptionID

ID of subscription to be deleted.

 

Return Type

gOPCUAStatusCode

 

C# code example

GelecekCommon.gOPCUAStatusCode function_result = gOPCUAConnector1.gKillSubscription(txtSubscriptionID.Text);

//For a successfull operation, function result should be "Good"