The Logging.Enabled property returns or sets a Boolean value specifying whether or not logging is enabled.
Syntax
Logging.Enabled
Remarks
Valid values include thefollowing:
Value | Description |
True | Indicates logging is enabled. This is the property's default value. |
False | Indicates logging is disabled. |
Example
The following code displays the current server-side logging directory (if it is enabled):
Sub displayLoggingDirectory(server As String)
Dim logging As IMSrvLogging
MediaServer1.SetServer server
Set logging = MediaServer1.logging
If (logging.Enabled) Then
MsgBox logging.Directory
End If
End Sub
© 1996-1998 Microsoft Corporation. All rights reserved.