This documentation is archived and is not being maintained.

PolicyUnit Members

Represents a size measurement in a log store policy.

The PolicyUnit type exposes the following members.

  NameDescription
Public method PolicyUnit Initializes a new instance of the PolicyUnit structure with the specified value and type.
Top

  NameDescription
Public method Equals Indicates whether this instance and a specified object are equal. (Overrides ValueType.Equals(Object).)
Public method Static member Extents Creates a PolicyUnit of type Extents from the specified number.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Provides a unique hash code for this object. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Percentage Creates a PolicyUnit of type Percentage from the specified number.
Public method ToString Returns a string representation of this object. (Overrides ValueType.ToString().)
Top

  NameDescription
Public operator Static member Equality Compares two PolicyUnit instances to determine whether they are equal.
Public operator Static member Inequality Compares two PolicyUnit instances to determine whether they are not equal.
Top

  NameDescription
Public property Type Gets the unit type of the PolicyUnit.
Public property Value Gets the value of the PolicyUnit.
Top
Show: