DiskQuotaControl.Initialize method

Opens a specified volume and initializes its quota control object.

Syntax

DiskQuotaControl.Initialize(
  sPath,
  bReadWrite
)

Parameters

sPath

Type: String

A string value that contains the fully qualified path of the volume to be initialized.

bReadWrite

Type: Boolean

A Boolean value that specifies how the volume is to be opened. Set bReadWrite to TRUE for read/write access or FALSE for read-only access.

Return value

This method does not return a value.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
DLL
Shell32.dll (version 5.0 or later)

See also

DiskQuotaControl Object