Share via


StorageGroup CoClass

StorageGroup CoClass

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release. Defines an object for managing groups of public or mailbox stores.

CLSID

25150F26-5734-11D2-A593-00C04F990D8A

ProgID

CDOEXM.StorageGroup

Type Library

Microsoft CDO for Exchange Management Library

Inproc Server

CDOEXM.DLL

Threading Model

Both

Implemented Interfaces

IStorageGroup Interface

IDataSource2 Interface

Supported Bindings

Data pertaining to storage groups in Microsoft® Exchange Server 2003 can reside in both Microsoft Active Directory® and Exchange Server 2003. In most cases, you will use the IDataSource2 interface to bind to data in Active Directory using the LDAP address protocol. For more information, see Active Directory and CDOEXM.

Remarks

Instances of the StorageGroup Component Object Model (COM) class give you access to information pertaining to storage groups. This information is principally stored in Active Directory. The default interface on the StorageGroup object is the IStorageGroup Interface. You can use this interface to access configuration information about the underlying Microsoft Jet databases (MDBs) used in the Exchange Server 2003 public and mailbox stores.

Note  Exchange Server 2003 introduced recovery storage groups that can be used when restoring individual mailboxes. However, recovery storage groups cannot be opened using CDO for Exchange Management (CDOEXM). Attempting to open a recovery storage group using CDOEXM will return the error 0xC1032221, "CDOEXM is not supported on Recovery objects."

Example

[Visual Basic]

Dim StorGroup as New CDOEXM.StorageGroup

' The LDAP URL to the storage group in the directory service. SetldapURL = StorGroup.DataSource.Open ldapURL StorGroup.MoveLogFiles("C:\newlogPath", 0)

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.