/// <summary> /// Stop publishing node values /// </summary> /// <remarks> /// Stop publishing variable node values to IoT Hub. /// The endpoint must be activated and connected and the module client /// and server must trust each other. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='endpointId'> /// The identifier of the activated endpoint. /// </param> /// <param name='request'> /// The unpublish request /// </param> public static PublishStopResponseApiModel StopPublishingValues(this IAzureOpcTwinClient operations, string endpointId, PublishStopRequestApiModel request) { return(operations.StopPublishingValuesAsync(endpointId, request).GetAwaiter().GetResult()); }