StorageManager Class
Provides synchronous and asynchronous operations to interact with the Storage Provider.
Namespace: Microsoft.WindowsServerSolutions.Storage
Assembly: StorageOM (in StorageOM.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsServerSolutions.Storage.NotifyPropertyChange
Microsoft.WindowsServerSolutions.Storage.StorageManager
Syntax
public class StorageManager : NotifyPropertyChange, IDisposable
public ref class StorageManager : NotifyPropertyChange, IDisposable
Public Class StorageManager
Inherits NotifyPropertyChange
Implements IDisposable
Constructors
Name | Description | |
---|---|---|
StorageManager() | Initializes a new instance of the StorageManager class. |
Properties
Name | Description | |
---|---|---|
Connected | Indicates whether the Storage Provider is connected to the storage service and all collections are up to date. |
|
Disks | Gets a collection that contains all of the disks on the system. |
|
Drives | Gets a list of all drives that are defined in for storage. |
|
EventQueue | Represents notify events that are raised on thread pool threads.(Inherited from NotifyPropertyChange.) |
|
Folders | Gets a list of all of the folders that are defined in storage. |
|
GetServerFolderRootPath | Gets the path to the root folder on a server. |
|
SpacesPoolConfigured | Verifies whether a storage pool is configured. |
|
SpacesPools | Gets a collection of storage pools. |
Methods
Name | Description | |
---|---|---|
CheckDisposed() | Checks if this object has been disposed. |
|
Connect() | Connects the Storage Manager with the Storage Provider. |
|
Connect(Int32) | Connects the Storage Manager with the Storage Provider in the specified time interval. |
|
Connect(TimeSpan) | Connects the Storage Manager with the Storage Provider in the specified time interval. |
|
ConnectAsync() | Asynchronously connects the Storage Manager with the Storage Provider. |
|
Dispose() | Release all resources that are used by the StorageManager object. |
|
Dispose(Boolean) | Releases the unmanaged resources used by the StorageManager object and optionally releases the managed resources. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetBackupConfigurationRequest(Guid, Boolean, String) | Returns an BackupConfigurationRequest object that sets the hard disk drive to be available for Server Backup on the Dashboard. |
|
GetCreateDefaultFolderRequest(Guid, String) | Returns a request object that is used to create a new default folder. |
|
GetCreateDefaultFolderRequest(Guid, String, Boolean) | Returns a request object that is used to create a new default folder. |
|
GetCreateDefaultFolderRequest(Guid, String, Boolean, Boolean) | Returns a request object that is used to create a new default folder. |
|
GetCreateFolderRequest(String, String) | Returns a request object that is used to create a new folder. |
|
GetCreateFolderRequest(String, String, Boolean) | Returns a request object that is used to create a new folder. |
|
GetCreateFolderRequest(String, String, Boolean, Boolean) | Returns a request object that is used to create a new folder. |
|
GetCreateFolderRequest(String, String, String) | Returns a request object that is used to create a new folder. |
|
GetCreateFolderRequest(String, String, String, Boolean) | Returns a request object that is used to create a new folder. |
|
GetCreateFolderRequest(String, String, String, Boolean, Boolean) | Returns a request object that is used to create a new folder. |
|
GetCreateStorageSpaceRequest(IList<Disk>) | Returns a request object that is used to create a new storage space. |
|
GetDefaultShareLocation() | Retrieves the default share location for the Storage Provider. |
|
GetHashCode() | (Inherited from Object.) |
|
GetInitializeStorageRequest(Boolean, Boolean) | Returns a request object that is used to initialize storage. |
|
GetPoolableDisksRequest() | Returns a request object that is used to retrieve a list of disks that can be added to a storage pool. |
|
GetServerDrives(String) | Retrieves the storage drives on a server. |
|
GetServers() | Retrieves the servers that contain folders that are managed by the Storage Provider. |
|
GetStorageManagerInstance() | Retrieves an instance of the Storage Provider. |
|
GetType() | (Inherited from Object.) |
|
IsDriveOnDynamicDisk(Drive) | Gets a value that describes if the specified drive is on a dynamic disk. |
|
IsDriveWithREFS(Drive) | Verifies whether Resilient File System (ReFS) is supported on a storage drive. |
|
IsDriveWithSupportedFS(Drive) | Verifies whether the storage drive uses a file system that is supported by the storage provider. |
|
IsExternalDisk(Disk) | Specifies whether a storage disk is an external disk. |
|
IsExternalDisk(Drive) | Specifies whether a storage disk is an external disk drive. |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
PropertyChanged | Represents the PropertyChanged event.(Inherited from NotifyPropertyChange.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsServerSolutions.Storage Namespace
Return to top