SPCompatibilityRange members
Represents the compatibility range of a SharePoint installation.
The SPCompatibilityRange type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
SPCompatibilityRange(String) | Initializes a new instance of the SPCompatibilityRange class from a serialization. |
![]() |
SPCompatibilityRange(Int32, Int32) | Initializes a new instance of the SPCompatibilityRange class from the given minimum and maximum compatibility values. |
Top
Properties
Name | Description | |
---|---|---|
![]() ![]() |
AllVersions | Gets all versions that can be supported by this SharePoint installation. |
![]() |
DefaultCompatibilityLevel | Gets the default compatibility level for sites being created using this range. |
![]() ![]() |
DefaultCompatibilityRange | Gets the default compatibility range for the SharePoint installation. |
![]() |
MaxCompatibilityLevel | Gets or sets the maximum compatibility level allowed in this range. |
![]() |
MinCompatibilityLevel | Gets or sets the minimum compatibility level allowed in this range. |
![]() ![]() |
NewVersion | Gets a compatibility range object representing only the current major version. |
![]() ![]() |
OldVersions | Gets a compatibility range object representing all versions except the current one. |
![]() |
Singular | Gets whether the compatibility range contains only one compatibility level. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
ConstrainByRange | Retrieves a range that is the intersection of the two. |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Equals(SPCompatibilityRange) | Compares two compatibility range objects by value. |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
ImposeOnLevel | Retrieves a valid compatibility level from the range that is the given level or is closest to the given level. |
![]() |
ImposeOnRange | Retrieves a range that is the intersection of the two. |
![]() |
IsValid | Checks whether a given compatibility level is valid in this range. |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
Serialize | Serializes the compatibility to a string. |
![]() |
ToString | (Inherited from Object.) |
Top