DomainController.CurrentTime Property

 

Gets the current date and time from this domain controller.

Namespace:   System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

Public ReadOnly Property CurrentTime As Date

Property Value

Type: System.DateTime

A DateTime object that contains the current date and time from this domain controller.

Exception Condition
ObjectDisposedException

The current object has been disposed.

.NET Framework
Available since 2.0
Return to top
Show: