Platform Symphony .NET API Reference - Version 5.1
Unpublish Method (attribute, throwOnFailure)
NamespacesPlatform.Symphony.SoamServiceContextUnpublish(ResourceAttribute, Boolean)
Un-publishes the attribute from the system.
Declaration Syntax
C#
public void Unpublish(
	ResourceAttribute attribute,
	bool throwOnFailure
)
Parameters
attribute (ResourceAttribute)
The attribute being "un-published".
throwOnFailure (Boolean)
Indicates whether we want the method to throw an exception if it fails to "un-publish" the attribute.
Remarks

The service may "un-publish" details about an attribute at anytime during its lifetime.

NOTE: If more than one service instance publishes the same attribute with host-level scope, un-publishing the attribute will simply remove one of the publishing references. This means the system will continue to use the last value published for the attribute until all service instances have un-published the same attribute.

Exceptions
ExceptionCondition
[SoamException]If attribute could not be "un-published" and "throwOnFailure" is set to [true].
See Also
[ResourceAttribute]

Assembly: Platform.Symphony.Soam.Net (Module: Platform.Symphony.Soam.Net) Version: 5.1.0.0