Restriction Class
Autodesk.DataManagement.Client.Framework›Autodesk.DataManagement.Client.Framework.Currency
A restriction is a combination of a restricted object and a reason why an operation failed on the object. An example would be a restriction on deleting a file, becuase a link to the file still exists. All other more specific restrictions types inherit from this base class.
Syntax
public class Restriction Public Class Restriction Constructors
| Name | Description |
|---|---|
| Restriction |
Properties
| Name | Description |
|---|---|
| IsOverrideable | Gets if the resriction can be overridden by the user. |
| RestrictedObjectName | Gets the name of the object that this restriction affects. |
| RestrictionReason | Gets the reason for this restriction if needed. |
| RestrictionText | Gets the reson for this restriction. |
Returned By
Where you get a Restriction — members that return one.
- ShowRestrictionsSettings.Restrictions
- VaultLicenseException.Restrictions
- VaultServiceErrorException.Restrictions
Inheritance Hierarchy
- System.Object
- Autodesk.DataManagement.Client.Framework.Currency.Restriction
- Autodesk.DataManagement.Client.Framework.Vault.Currency.Restrictions.EntityRestriction