LeaseState Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates the possible lease states of a lifetime lease.
public enum class LeaseState
[System.Serializable]
public enum LeaseState
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum LeaseState
[<System.Serializable>]
type LeaseState =
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type LeaseState =
Public Enum LeaseState
- Inheritance
- Attributes
Name | Value | Description |
---|---|---|
Null | 0 | The lease is not initialized. |
Initial | 1 | The lease has been created, but is not yet active. |
Active | 2 | The lease is active and has not expired. |
Renewing | 3 | The lease has expired and is seeking sponsorship. |
Expired | 4 | The lease has expired and cannot be renewed. |
The CurrentState property returns the lease status for a lease.
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: