IWMSLoggingAdmin.FreeSpaceQuota (Visual Basic .NET)

banner art

Previous Next

IWMSLoggingAdmin.FreeSpaceQuota (Visual Basic .NET)

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 = Integer
Integer =LoggingAdmin.FreeSpaceQuota;

Property Value

An Integer 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 server cannot find the WMS Client Logging plug-in.
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

Imports Microsoft.WindowsMediaServices.Interop
Imports System.Runtime.InteropServices

Private Sub GetQuota()





























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