Partager via


DriveInfo.SystemDrive Property

 

Gets and sets a value that determines if the drive is a system drive.

Namespace:   Microsoft.WindowsServerSolutions.Storage
Assembly:  StorageOM (in StorageOM.dll)

Syntax

[DataMemberAttribute]
public bool SystemDrive { get; set; }
public:
[DataMemberAttribute]
property bool SystemDrive {
    bool get();
    void set(bool value);
}
<DataMemberAttribute>
Public Property SystemDrive As Boolean

Property Value

Type: System.Boolean

true if the drive is a system drive; otherwise, false.

See Also

DriveInfo Class
Microsoft.WindowsServerSolutions.Storage Namespace

Return to top