driveType (property)
The drive's type.
Syntax
- (int)driveType:(int)driveIndex;
/* Possible Values */
ODDT_PERSONAL(0),
ODDT_BUSINESS(1),
ODDT_DOCUMENT_LIBRARY(2)
public func driveType(driveIndex: Int32) throws -> OnedriveDriveTypes
public enum OnedriveDriveTypes : Int32 { case oddtPersonal = 0 case oddtBusiness = 1 case oddtDocumentLibrary = 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.