StorageManager.Connect Method ()
Connects the Storage Manager with the Storage Provider.
Namespace: Microsoft.WindowsServerSolutions.Storage
Assembly: StorageOM (in StorageOM.dll)
Syntax
public void Connect()
public:
void Connect()
Public Sub Connect
Examples
The following code example shows how to connect to the Storage Manager to the Storage Provider.
try
{
StorageManager storageManager = new StorageManager();
storageManager.Connect();
}
catch (StorageObjectModelException stoEx)
{
//Handle exception
}
See Also
Connect Overload
StorageManager Class
Microsoft.WindowsServerSolutions.Storage Namespace
Return to top