9.1.4.5.6 RemovePublishedDataSet Method

This Method is used to remove a PublishedDataSetType Object from the DataSetFolderType Object.

A successful removal of the PublishedDataSetType Object removes all associated DataSetWriter Objects. Before the Objects are removed, their state is changed to Disabled.

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

Signature

	RemovePublishedDataSet (
		[in]	NodeId	DataSetNodeId
		);
	
Argument Description
DataSetNodeId NodeId of the PublishedDataSets Object to remove from the Server. The DataSetId is either returned by the AddPublishedDataItems or AddPublishedEvents Methods or can be discovered by browsing the list of configured PublishedDataSets in the PublishSubscribe Object.

Method Result Codes

ResultCode Description
Bad_NodeIdUnknownThe DataSetNodeId is unknown.
Bad_NodeIdInvalidThe DataSetNodeId is not a NodeId of a published DataSet.
Bad_UserAccessDeniedThe Session user is not allowed to delete a PublishedDataSetType.

Table 263 specifies the AddressSpace representation for the RemovePublishedDataSet Method.

Table 263 – RemovePublishedDataSet Method AddressSpace definition
Attribute Value
BrowseNameRemovePublishedDataSet
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasPropertyVariableInputArgumentsArgument[] PropertyTypeMandatory
ConformanceUnits
PubSub Model PublishedDataSet