Reboots the drive with timeout
Namespace: EAL.Interfaces.SystemAssembly: EAL (in EAL.dll) Version: 1.1.5.0 (1.1.5.0)
Syntax
C# |
---|
void Reboot(
int timeout
) |
Visual Basic |
---|
Sub Reboot (
timeout As Integer
) |
Visual C++ |
---|
void Reboot(
int timeout
) |
Examples
Synchronous method
| Copy |
---|
private static void Method1()
{
using (IEALConnection ealConnection = new EALConnection())
{
ealConnection.Connect("192.168.0.10");
ealConnection.System.Reboot(100000);
}
} |
Asynchronous method
| Copy |
---|
private static void Method2()
{
using (IEALConnection ealConnection = new EALConnection(true))
{
ealConnection.Connect("192.168.0.10");
ealConnection.System.Reboot(100000);
ealConnection.WaitUntilQueueComplete();
}
} |
See Also