次の方法で共有


ManagementGroup.TimeOfExpiration Property

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the product expiration time.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As ManagementGroup
Dim value As DateTime

value = instance.TimeOfExpiration

Syntax

'Declaration
Public ReadOnly Property TimeOfExpiration As DateTime
public DateTime TimeOfExpiration { get; }
public:
property DateTime TimeOfExpiration {
    DateTime get ();
}
/** @property */
public DateTime get_TimeOfExpiration ()
public function get TimeOfExpiration () : DateTime

Property Value

Returns the product expiration time DateTimeDateTime.

Remarks

The TimeOfExpiration object is meaningful for evaluation license stock keeping units (SKUs) only. For other SKUs, the TimeOfExpiration object returns DateTime.MaxVal.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

ManagementGroup Class
ManagementGroup Members
Microsoft.EnterpriseManagement Namespace