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.