16.01.2013 Views

Ipswitch WhatsUp Gold User Guide - Ipswitch Documentation Server

Ipswitch WhatsUp Gold User Guide - Ipswitch Documentation Server

Ipswitch WhatsUp Gold User Guide - Ipswitch Documentation Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Ipswitch</strong> <strong>WhatsUp</strong> <strong>Gold</strong> <strong>User</strong> <strong>Guide</strong><br />

End Function<br />

Else<br />

End If<br />

Set oStateRS = CreateObject("ADODB.Recordset")<br />

oStateRS.Open sSqlGetUpState,oDBconn,3<br />

'if recordset is empty then<br />

If oStateRS.RecordCount = 1 Then<br />

Else<br />

End If<br />

If instr(1,oStateRS("sStateName"),"up",1) > 0 Then<br />

Else<br />

End If<br />

oStateRS.Close<br />

oDBconn.Close<br />

IsPingUp = true<br />

IsPingUP = false<br />

'if there's no ping on the device, then just assume up, so regular check will happen.<br />

IsPingUp= true<br />

Set oStateRS = Nothing<br />

Set oDBconn = Nothing<br />

'assume up, since there's no device yet. It's for scanning during discovery.<br />

IsPingUP = true<br />

'Try to get the current login user name.<br />

918

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!