Un-publishes the attribute from the system.

C# |
public void Unpublish( ResourceAttribute attribute )

- attribute (ResourceAttribute)
- The attribute being un-published.

The service may "un-publish" details about an attribute at any time during its lifetime. To reduce coding complexity this method will not throw an exception if the "un-publish" cannot be completed successfully. If your service wishes to get an exception on failure to "un-publish" then use the overload of this method that includes the throwOnFailure attribute and set its value to [true].
NOTE: If more than one service instances publish 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.

[ResourceAttribute]