Windows Media Services SDK banner art
PreviousNext

OnServerOffline Event

Indicates the server running the Windows Media Unicast service went offline.

Syntax

NSUnicastMgr_OnServerOffline( DateTime, Status )

Parameters

DateTime

A Date value indicating when the event occurred, expressed in Greenwich mean time.

Status

A Long value specifying the HRESULT error code that was passed back, which indicates why the server went offline.

Remarks

This event is never fired unless the ServerEvents property is 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

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.