gOPCUAConnector.gPauseSubscriptionPublishing Method

Top  Previous  Next

Description

Makes a subscription inactive, so this connection or monitoring subscription does not refresh values anymore.

 

VB syntax

gOPCUAConnector.gPauseSubscriptionPublishing(subscriptionID As String)

 

C# syntax

gOPCUAConnector.gPauseSubscriptionPublishing(string subscriptionID)

 

Parameters

subscriptionID

Name of subscription you want to pause.

 

Return Type

gOPCUAStatusCode

 

C# code example

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

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