OnServerOffline Event

Indicates the NetShow unicast server went offline.

Syntax

NSUnicastMgr_OnServerOffline( datetime, status )

Parameters

datetime

A Date value indicating the time the event occurred, expressed in Greenwich Mean Time (GMT).

status

A Long value specifying the HRESULT passed back indicating why the server went offline.

Remarks

To receive notification of this event, the ServerEvents property must first be set to TRUE.

Example

Sub NSUnicastMgr_OnServerOffline(datetime, status)
  ' message box opens if the server goes offline
  MsgBox( "server went offline at " & datetime )
End Sub

See Also

OnServerOnline

© 1996-1998 Microsoft Corporation. All rights reserved.