Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
| Previous | Next |
IWMSLoggingAdmin.FreeSpaceQuota (C#)
The FreeSpaceQuota property specifies and retrieves the minimum percentage disk space that must remain after data has been written to a log file.
Syntax
LoggingAdmin .FreeSpaceQuota = int int =LoggingAdmin.FreeSpaceQuota;
Property Value
An int containing the minimum percentage disk space. The percentage must not be greater than 100 or less than 0.
If this property fails, it throws an exception.
| Number | Description |
| 0x80004005 | The logging plug-in could not be found. |
| 0x80070057 | The value you specified is greater than 100 or less than 0. |
Remarks
The server stops logging data when the remaining disk space percentage equals the amount specified by this property.
Example Code
using Microsoft.WindowsMediaServices.Interop; using System.Runtime.InteropServices;
Requirements
Reference: Add a reference to Microsoft.WindowsMediaServices.
Namespace: Microsoft.WindowsMediaServices.Interop.
Assembly: Microsoft.WindowsMediaServices.dll.
Library: WMSServerTypeLib.dll.
Platform: Windows Server 2003 family, Windows Server 2008 family.
See Also
| Previous | Next |