[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Adds a data warehouse configuration to the Service Manager store. Namespace: Microsoft.EnterpriseManagement.DataWarehouse
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As IDataWarehouseManagement
Dim configuration As DataWarehouseConfiguration
Dim username As String
Dim domain As String

instance.AddDataWarehouseConfiguration(configuration, username, domain)

Syntax

Visual Basic
Sub AddDataWarehouseConfiguration ( _
		configuration As DataWarehouseConfiguration, _
		username As String, _
		domain As String _
)
C#
void AddDataWarehouseConfiguration (
		DataWarehouseConfiguration configuration,
		string username,
		string domain
)
C++
void AddDataWarehouseConfiguration (
		DataWarehouseConfiguration^ configuration, 
		String^ username, 
		String^ domain
)
J#
void AddDataWarehouseConfiguration (
		DataWarehouseConfiguration configuration, 
		String username, 
		String domain
)
JScript
function AddDataWarehouseConfiguration (
		configuration : DataWarehouseConfiguration, 
		username : String, 
		domain : String
)

Parameters

configuration

Type: DataWarehouseConfiguration

The data warehouse configuration settings.

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 Service Manager, if it is not already part of the group.

The "username" will be added to the Mpsync_users database role of the Service Manager 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 Service Manager without associating Service Manager 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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

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