FolderUtil.GetDrivesOfDevice Method (String)
Retrieves the drive of the specified device.
Namespace: Microsoft.WindowsServerSolutions.Storage
Assembly: StorageOM (in StorageOM.dll)
Syntax
public static List<DriveShortInfo> GetDrivesOfDevice(
string deviceName
)
public:
static List<DriveShortInfo^>^ GetDrivesOfDevice(
String^ deviceName
)
Public Shared Function GetDrivesOfDevice (
deviceName As String
) As List(Of DriveShortInfo)
Parameters
deviceName
Type: System.StringThe name of the device.
Return Value
Type: System.Collections.Generic.List<DriveShortInfo>
The drive of the device.
See Also
FolderUtil Class
Microsoft.WindowsServerSolutions.Storage Namespace
Return to top