Compartilhar via


IDataWarehouseManagement.AddDataWarehouseConfiguration Method

Adds a data warehouse configuration to the System Center store.

Namespace: Microsoft.EnterpriseManagement.DataWarehouse
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As IDataWarehouseManagement
Dim configuration As DataWarehouseConfiguration
Dim username As String
Dim domain As String

instance.AddDataWarehouseConfiguration(configuration, username, domain)

Syntax

'Declaration
Sub AddDataWarehouseConfiguration ( _
    configuration As DataWarehouseConfiguration, _
    username As String, _
    domain As String _
)
void AddDataWarehouseConfiguration (
    DataWarehouseConfiguration configuration,
    string username,
    string domain
)
void AddDataWarehouseConfiguration (
    DataWarehouseConfiguration^ configuration, 
    String^ username, 
    String^ domain
)
void AddDataWarehouseConfiguration (
    DataWarehouseConfiguration configuration, 
    String username, 
    String domain
)
function AddDataWarehouseConfiguration (
    configuration : DataWarehouseConfiguration, 
    username : String, 
    domain : String
)

Parameters

  • username
    The user name.
  • domain
    The domain.

Remarks

The user running this API must belong to the admin group of ServiceManager.

The "username" will be added to the admin group of System Center, if it is not already part of the group.

The "username" will be added to the Mpsync_users database role of the System Center database, if it is not already part of the group.

This API needs to be used along with the API that adds a ServiceManager configuration to a data warehouse management group (AddDataSource in Microsoft.EnterpriseManagement.DataWarehouse.dll). Otherwise, it is meaningless to associate a data warehouse with System Center without associating System Center to the corresponding data warehouse system.

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.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,Smart Phone,Windows Server 2003,Windows XP Professional,Windows Vista,Windows XP

See Also

Reference

IDataWarehouseManagement Interface
IDataWarehouseManagement Members
Microsoft.EnterpriseManagement.DataWarehouse Namespace