DriveType Property

The drive's type.

Syntax

int GetDriveType(int iDriveIndex);

Possible Values

ODDT_PERSONAL(0), 
ODDT_BUSINESS(1),
ODDT_DOCUMENT_LIBRARY(2)

Default Value

0

Remarks

The drive's type.

This property reflects the drive's type. Possible values are:

0 (oddtPersonal) A OneDrive Personal drive.
1 (oddtBusiness) A OneDrive for Business drive.
2 (oddtDocumentLibrary) A SharePoint Online document library.

The DriveIndex parameter specifies the index of the item in the array. The size of the array is controlled by the DriveCount property.

This property is read-only and not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Qt Edition - Version 20.0 [Build 8265]