9.1.3.5 RemoveConnection Method (Deprecated)

This deprecated Method is used to remove a PubSubConnection Object from the PublishSubscribe Object.

A successful removal of the PubSubConnection Object removes all associated groups, DataSetWriter and DataSetReader Objects. Before the Objects are removed, their state is set to Disabled.

The Client should be authorized to modify the configuration for the PubSub functionality when invoking this Method on the Server.

Signature

	RemoveConnection (
		[in]	NodeId	ConnectionId
		);
	
Argument Description
ConnectionId NodeId of the PubSubConnection Object to remove from the Server

Method Result Codes

ResultCode Description
Bad_NodeIdUnknownThe ConnectionId is unknown.
Bad_UserAccessDeniedThe Session user is not allowed to delete the PubSubConnection Object.

Table 236 specifies the AddressSpace representation for the RemoveConnection Method.

Table 236 – RemoveConnection Method AddressSpace definition
Attribute Value
BrowseNameRemoveConnection
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasPropertyVariableInputArgumentsArgument[] PropertyTypeMandatory
ConformanceUnits
PubSub Model Base