LogDestinations
Defines constants that indicate where log messages are written.
Members
Member | Description | Value |
---|---|---|
All | Log messages are written to all available destinations. | -1 |
Debugger | Log messages are written to the debugger, if one is attached. | 1 |
File | Log messages are written to the log file that is specified in IUpdateServerConfiguration.LogFilePath. | 2 |
None | Turn off logging. | 0 |
Remarks
You can specify one or more values.
Setting LogDestinations.None is the same as setting LogLevel.Off.
Requirements
Server | Requires Windows Server 2003 or Windows 2000 Server SP4 and later. |
Namespace | Defined in Microsoft.UpdateServices.Administration. |
Assembly | Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll). |
.NET Framework | Requires .NET Framework 1.1. |