Share via


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
System_CAPS_pubmethod StorageManager()

Initializes a new instance of the StorageManager class.

Properties

Name Description
System_CAPS_pubproperty Connected

Indicates whether the Storage Provider is connected to the storage service and all collections are up to date.

System_CAPS_pubproperty Disks

Gets a collection that contains all of the disks on the system.

System_CAPS_pubproperty Drives

Gets a list of all drives that are defined in for storage.

System_CAPS_protproperty EventQueue

Represents notify events that are raised on thread pool threads.(Inherited from NotifyPropertyChange.)

System_CAPS_pubproperty Folders

Gets a list of all of the folders that are defined in storage.

System_CAPS_pubproperty GetServerFolderRootPath

Gets the path to the root folder on a server.

System_CAPS_pubproperty SpacesPoolConfigured

Verifies whether a storage pool is configured.

System_CAPS_pubproperty SpacesPools

Gets a collection of storage pools.

Methods

Name Description
System_CAPS_protmethod CheckDisposed()

Checks if this object has been disposed.

System_CAPS_pubmethod Connect()

Connects the Storage Manager with the Storage Provider.

System_CAPS_pubmethod Connect(Int32)

Connects the Storage Manager with the Storage Provider in the specified time interval.

System_CAPS_pubmethod Connect(TimeSpan)

Connects the Storage Manager with the Storage Provider in the specified time interval.

System_CAPS_pubmethod ConnectAsync()

Asynchronously connects the Storage Manager with the Storage Provider.

System_CAPS_pubmethod Dispose()

Release all resources that are used by the StorageManager object.

System_CAPS_protmethod Dispose(Boolean)

Releases the unmanaged resources used by the StorageManager object and optionally releases the managed resources.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetBackupConfigurationRequest(Guid, Boolean, String)

Returns an BackupConfigurationRequest object that sets the hard disk drive to be available for Server Backup on the Dashboard.

System_CAPS_pubmethod GetCreateDefaultFolderRequest(Guid, String)

Returns a request object that is used to create a new default folder.

System_CAPS_pubmethod GetCreateDefaultFolderRequest(Guid, String, Boolean)

Returns a request object that is used to create a new default folder.

System_CAPS_pubmethod GetCreateDefaultFolderRequest(Guid, String, Boolean, Boolean)

Returns a request object that is used to create a new default folder.

System_CAPS_pubmethod GetCreateFolderRequest(String, String)

Returns a request object that is used to create a new folder.

System_CAPS_pubmethod GetCreateFolderRequest(String, String, Boolean)

Returns a request object that is used to create a new folder.

System_CAPS_pubmethod GetCreateFolderRequest(String, String, Boolean, Boolean)

Returns a request object that is used to create a new folder.

System_CAPS_pubmethod GetCreateFolderRequest(String, String, String)

Returns a request object that is used to create a new folder.

System_CAPS_pubmethod GetCreateFolderRequest(String, String, String, Boolean)

Returns a request object that is used to create a new folder.

System_CAPS_pubmethod GetCreateFolderRequest(String, String, String, Boolean, Boolean)

Returns a request object that is used to create a new folder.

System_CAPS_pubmethod GetCreateStorageSpaceRequest(IList<Disk>)

Returns a request object that is used to create a new storage space.

System_CAPS_pubmethod GetDefaultShareLocation()

Retrieves the default share location for the Storage Provider.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetInitializeStorageRequest(Boolean, Boolean)

Returns a request object that is used to initialize storage.

System_CAPS_pubmethod GetPoolableDisksRequest()

Returns a request object that is used to retrieve a list of disks that can be added to a storage pool.

System_CAPS_pubmethod GetServerDrives(String)

Retrieves the storage drives on a server.

System_CAPS_pubmethod GetServers()

Retrieves the servers that contain folders that are managed by the Storage Provider.

System_CAPS_pubmethodSystem_CAPS_static GetStorageManagerInstance()

Retrieves an instance of the Storage Provider.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_static IsDriveOnDynamicDisk(Drive)

Gets a value that describes if the specified drive is on a dynamic disk.

System_CAPS_pubmethodSystem_CAPS_static IsDriveWithREFS(Drive)

Verifies whether Resilient File System (ReFS) is supported on a storage drive.

System_CAPS_pubmethodSystem_CAPS_static IsDriveWithSupportedFS(Drive)

Verifies whether the storage drive uses a file system that is supported by the storage provider.

System_CAPS_pubmethodSystem_CAPS_static IsExternalDisk(Disk)

Specifies whether a storage disk is an external disk.

System_CAPS_pubmethod IsExternalDisk(Drive)

Specifies whether a storage disk is an external disk drive.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent 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