Link:http://output.to/sideway/default.asp?qno=130400001 AvailableSpace / FreeSpace / TotalSize, Drive Object, ASP Server Component Drive ObjectOne key function of FileSystemObject Component is the manipulation of drives of the file system. DriveObject.AvailableSpaceDriveObject.AvailableSpace property is a property to get and return the amount of space available to a user on the specified drive or network share of the specified Drive object instance. Syntax:DriveObjectName.AvailableSpace Or in VBScript. Imply driveavailspace =DriveObjectName.AvailableSpace Or in JScript. Imply driveavailspace =DriveObjectName.AvailableSpace Parameters:driveavailspace The parameter "driveavailspace" is the name assigned to the value returned by the AvailableSpace property referred to the specified Drive object. DriveObjectName The parameter "DriveObjectName" is used to specify the name of the instance of the Drive Object related to. Returns:value The return value of the AvailableSpace property is the available space of the specified Drive to a user in byte. Remarks:DriveObjectName refers to a Drive Object. The value returned by the AvailableSpace property is typically the same as that returned by the FreeSpace property unless computer systems that support user quotas. Examples:
DriveObject.FreeSpaceDriveObject.FreeSpace property is a read only property to get and return the amount of free space available to user on the specified drive or network share of the specified Drive object instance. Syntax:DriveObjectName.FreeSpace Or in VBScript. Imply drivefreespace =DriveObjectName.FreeSpace Or in JScript. Imply drivefreespace =DriveObjectName.FreeSpace Parameters:drivefreespace The parameter "drivefreespace" is the name assigned to the value returned by the FreeSpace property referred to the specified Drive object. DriveObjectName The parameter "DriveObjectName" is used to specify the name of the instance of the Drive Object related to. Returns:value The return value of the FreeSpace property is the free space of the specified Drive available to a user in byte. Remarks:DriveObjectName refers to a Drive Object. The value returned by the FreeSpace property is typically the same as that returned by the AvailableSpace property unless computer systems that support user quotas. Examples:
DriveObject.TotalSizeDriveObject.TotalSize property is a property to get and return the amount of total space on the specified drive or network share of the specified Drive object instance. Syntax:DriveObjectName.TotalSize Or in VBScript. Imply drivetotalsize =DriveObjectName.TotalSize Or in JScript. Imply drivetotalsize =DriveObjectName.TotalSize Parameters:drivetotalsize The parameter "drivetotalsize" is the name assigned to the value returned by the TotalSize property referred to the specified Drive object. DriveObjectName The parameter "DriveObjectName" is used to specify the name of the instance of the Drive Object related to. Returns:value The return value of the TotalSize property is the total space of the specified Drive available in byte. Remarks:DriveObjectName refers to a Drive Object. Examples:
|
Sideway BICK Blog 04/04 |