Windows Media Services SDK banner art
PreviousNext

EnableLogging Property

Returns or sets a Boolean value specifying whether the Windows Media Unicast Admin control logs activity.

Syntax

NSUnicastMgr.EnableLogging

Remarks

Changes to this property do not take effect until the Windows Media Unicast service is stopped and restarted. This can be done remotely by using Visual Basic.

Example

Sub ToggleLogging
   ' Turns logging on or off
   If NSUnicastMgr.EnableLogging = True Then
      NSUnicastMgr.EnableLogging = False
   Else
      NSUnicastMgr.EnableLogging = True
   End If
   MsgBox ("Logging value:" & NSUnicastMgr.EnableLogging)
End Sub
PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.