Sets the scope of the resource attribute.

C# |
public virtual ResourceAttributeScope Scope { set; }

Resource attributes can exist either at a service instance level or be generally available to any entity on a host. Use this method to set whether the attribute applies at the host or instance level. This value can be one of the values defined by ResourceAttribute::Scope values.

Exception | Condition |
---|---|
[SoamException] |