The DSSDataSource object is created for the client by the DSSSourceEnumerator object. The client does not call a CoCreateInstance(though it can).
Public Member Functions | |
HRESULT | Administrator ([out, retval] BSTR *pAdministrator) |
The login of the Administrator user account. | |
HRESULT | ApplicationType ([in] EnumDSSApplicationType AppType) |
The application type of this data source. | |
HRESULT | ApplicationType ([out, retval] EnumDSSApplicationType *pAppType) |
The application type of this data source. | |
HRESULT | AuthMode ([in] EnumDSSAuthModes AuthMode) |
Put the authentication mode for this data source. | |
HRESULT | AuthMode ([out, retval] EnumDSSAuthModes *pAuthMode) |
Get the authentication mode for this data source. | |
HRESULT | AuthModesAvailable ([out, retval] Int32 *pAuthModesAvailable) |
The available authentication modes for this data source. | |
HRESULT | CacheSetting ([in] EnumDSSCacheSetting CacheSettingType,[in] VARIANT *pCacheSetting) |
Set properties that modify the behavior of caches associated with this datasource. | |
HRESULT | CacheSetting ([in] EnumDSSCacheSetting CacheSettingType,[out, retval] VARIANT *pCacheSetting) |
Get properties that modify the behavior of caches associated with this datasource. | |
HRESULT | ConfigurationID ([in] BSTR ConfigurationID) |
The GUID of the Configuration object. | |
HRESULT | ConfigurationID ([out, retval] BSTR *pConfigurationID) |
The GUID of the Configuration object. | |
HRESULT | ConfigurationName ([in] BSTR ConfigurationName) |
The name of the Configuration object. | |
HRESULT | ConfigurationName ([out, retval] BSTR *pConfigurationName) |
The name of the Configuration object. | |
HRESULT | Create ([out, retval] IDSSCreate ppCreate) |
The interface of IDSSCreate. | |
HRESULT | CreateSession ([out, retval] IDSSSession ppSession) |
Create a session for the project this data source represents. | |
HRESULT | DBType ([in] EnumDSSDatabaseType DBType) |
Get the type of database used to support the metadata repository. | |
HRESULT | DBType ([out, retval] EnumDSSDatabaseType *pDBType) |
Set the type of database used to support the metadata repository. | |
HRESULT | Delete ([out, retval] IDSSDelete ppDelete) |
Get interface to component used to destroy projects. | |
HRESULT | DeleteFromRegistry () |
This method deletes the information of the data source from the registry. | |
HRESULT | Duplicate ([in] BSTR DataSourceName,[out, retval] IDSSDataSource ppDataSource) |
Duplicate this data source. | |
HRESULT | Enumerator ([in, defaultvalue(DssDataSourceRefreshOptionNotRefresh)] EnumDSSDataSourceRefreshOption Flag,[out, retval] IDSSDataSourceEnumerator ppDataSourceEnumerator) |
Get an enumerator over datasources accessible from this data source. | |
HRESULT | Flags ([in] EnumDSSDataSourceFlags Flags) |
The flags of this data source. | |
HRESULT | Flags ([out, retval] EnumDSSDataSourceFlags *pFlags) |
The flags of this data source. | |
HRESULT | Hidden ([in] VARIANT_BOOL Hidden) |
Indicate whether to show this data source in MicroStrategy Desktop or not. | |
HRESULT | Hidden ([out, retval] VARIANT_BOOL *pHidden) |
Indicate whether to show this data source in MicroStrategy Desktop or not. | |
HRESULT | Init () |
This method initializes the data source, and prepares to create session. | |
HRESULT | InternalProjectID ([in] Int32 InternalProjectID) |
Set the Intelligence Server's internal identifier for a 3-tier project. | |
HRESULT | InternalProjectID ([out, retval] Int32 *pInternalProjectID) |
Get the Intelligence Server's internal identifier for a 3-tier project. | |
HRESULT | IsInitialized ([out, retval] VARIANT_BOOL *pIsInitialized) |
Check whether the data source is initialized. | |
HRESULT | Locale ([in] Int32 Locale) |
The localization of this data source. | |
HRESULT | Locale ([out, retval] Int32 *pLocale) |
The localization of this data source. | |
HRESULT | Location ([in] BSTR Location) |
The depository to which the data source points. | |
HRESULT | Location ([out, retval] BSTR *pLocation) |
The depository to which the data source points. | |
HRESULT | login ([in] BSTR Login) |
HRESULT | login ([out, retval] BSTR *pLogin) |
HRESULT | MDLogin ([in] BSTR Login) |
The metadata login for pass through authentication against the metadata server. | |
HRESULT | MDLogin ([out, retval] BSTR *pLogin) |
The metadata login for pass through authentication against the metadata server. | |
HRESULT | MDPasswd ([in] BSTR Passwd) |
The metadata password for pass through authentication against the metadata server. | |
HRESULT | MDPasswd ([out, retval] BSTR *pPasswd) |
The metadata password for pass through authentication against the metadata server. | |
HRESULT | MDVersion ([in] EnumDSSMDVersion MDVersion) |
Set the version of the metadata. | |
HRESULT | MDVersion ([out, retval] EnumDSSMDVersion *pMDVersion) |
Get the version of the metadata. | |
HRESULT | Mode ([in] EnumDSSConnectionMode Mode) |
The tier mode corresponding to this data source. | |
HRESULT | Mode ([out, retval] EnumDSSConnectionMode *pMode) |
The tier mode corresponding to this data source. | |
HRESULT | Name ([in] BSTR DataSourceName) |
The name of the data source. | |
HRESULT | Name ([out, retval] BSTR *pDataSourceName) |
The name of the data source. | |
HRESULT | NewPasswd ([in] BSTR NewPasswd) |
Set a changed password to set during the next standard authentication. | |
HRESULT | NewPasswd ([out, retval] BSTR *pNewPasswd) |
Get a changed password to set during the next standard authentication. | |
HRESULT | passwd ([in] BSTR Passwd) |
HRESULT | passwd ([out, retval] BSTR *pPasswd) |
HRESULT | port ([in] Int32 Port) |
HRESULT | port ([out, retval] Int32 *pPort) |
HRESULT | ProjectDescription ([out, retval] BSTR *pProjectDescription) |
The description of the project. | |
HRESULT | ProjectID ([in] BSTR ProjectID) |
Set the ProjectID GUID of the project this data source represents. | |
HRESULT | ProjectID ([out, retval] BSTR *pProjectID) |
Get the ProjectID GUID of the project this data source represents. | |
HRESULT | ProjectName ([in] BSTR ProjectName) |
The name of the project this data source represents. | |
HRESULT | ProjectName ([out, retval] BSTR *pProjectName) |
The name of the project this data source represents. | |
HRESULT | Reset () |
Reset the data source. | |
HRESULT | SaveToRegistry ([in, optional] VARIANT_BOOL OverWritten) |
Write the properties of this data source into the registry. | |
HRESULT | ServerAdmin ([out, retval] IDSSServerAdmin ppServerAdmin) |
The ServerAdmin of this data source for a 3-tier or 4-tier connection. | |
HRESULT | ServerInstanceID ([in] BSTR ServerInstanceID) |
The ID of the DSS Server Definition object. | |
HRESULT | ServerInstanceID ([out, retval] BSTR *pServerInstanceID) |
The ID of the DSS Server Definition object. | |
HRESULT | ServerInstanceName ([in] BSTR ServerInstanceName) |
The name of the ServerDef object. | |
HRESULT | ServerInstanceName ([out, retval] BSTR *pServerInstanceName) |
The name of the ServerDef object. | |
HRESULT | SessionFlags ([in] EnumDSSSessionFlags Flags) |
Set the session flags for this data source. | |
HRESULT | SessionFlags ([out, retval] EnumDSSSessionFlags *pFlags) |
Get the session flags for this data source. | |
HRESULT | Timeout ([in] Int32 Timeout) |
The client-server connection time out. | |
HRESULT | Timeout ([out, retval] Int32 *pTimeout) |
The client-server connection time out. | |
HRESULT | Type ([in] EnumDSSDataSourceType Type) |
Set the type of this data source. | |
HRESULT | Type ([out, retval] EnumDSSDataSourceType *pType) |
Get the type of this data source. | |
HRESULT | WebServerAdmin ([out, retval] IDSSWebServerAdmin ppWebServerAdmin) |
The WebServerAdmin of this data source (only for 4-tier mode). | |
HRESULT | WHLogin ([in] BSTR Login) |
The login of warehouse database for pass through authentication. | |
HRESULT | WHLogin ([out, retval] BSTR *pLogin) |
The login of warehouse database for pass through authentication. | |
HRESULT | WHPasswd ([in] BSTR Passwd) |
The password of warehouse database for pass through authentication. | |
HRESULT | WHPasswd ([out, retval] BSTR *pPasswd) |
The password of warehouse database for pass through authentication. |
|
The login of the Administrator user account.
|
|
The application type of this data source. The application type of a datasource indicates the application that created the data source.
|
|
The application type of this data source. The application type of a datasource indicates the application that created the data source.
|
|
Put the authentication mode for this data source. The available enumerated values are:
|
|
Get the authentication mode for this data source. The available enumerated values are:
|
|
The available authentication modes for this data source. This is a bit-wise long value that contains all available authentication modes supported by this data source. The enumerated authentication mode values are described in property AuthMode.
|
|
Set properties that modify the behavior of caches associated with this datasource. The EnumDSSCacheSetting enumeration lists the various properties that can be assigned for a datasource.
|
|
Get properties that modify the behavior of caches associated with this datasource. The EnumDSSCacheSetting enumeration lists the various properties that can be assigned for a datasource.
|
|
The GUID of the Configuration object. The GUID of the Configuration object that contains information about a configuration. This one is optional. If this is not set, during data source initialization, this one is set as following:
|
|
The GUID of the Configuration object. The GUID of the Configuration object that contains information about a configuration. This one is optional. If this is not set, during data source initialization, this one is set as following:
|
|
The name of the Configuration object. The name of the Configuration object that contains information about a configuration. This one is optional. The default is "CASTOR_SERVER_CONFIGURATION".
|
|
The name of the Configuration object. The name of the Configuration object that contains information about a configuration. This one is optional. The default is "CASTOR_SERVER_CONFIGURATION".
|
|
The interface of IDSSCreate.
|
|
Create a session for the project this data source represents. This method creates a DSSSession object form which the client can get the components to perform different tasks. The DSSSession object should be closed before it is released.
|
|
Get the type of database used to support the metadata repository. This information needs to be recorded in the datasource, since we need to know the platform used to support the metadata before we can read any configuration information from the metadata.
|
|
Set the type of database used to support the metadata repository. This information needs to be recorded in the datasource, since we need to know the platform used to support the metadata before we can read any configuration information from the metadata.
|
|
Get interface to component used to destroy projects.
|
|
This method deletes the information of the data source from the registry.
|
|
Duplicate this data source. This method creates a new data source with the same property values as this data source, except the data source name.
|
|
Get an enumerator over datasources accessible from this data source. The enumerator in this data source, which contains a collection of DSSDataSource objects corresponding to the projects. The data source should be initialized before getting this property.
|
|
The flags of this data source. This is a bit-wise enumeration type EnumDSSDataSourceFlags. The properties record information about the entire datasource and its warehouse.
|
|
The flags of this data source. This is a bit-wise enumeration type EnumDSSDataSourceFlags. The properties record information about the entire datasource and its warehouse.
|
|
Indicate whether to show this data source in MicroStrategy Desktop or not. This property is used to hide certain datasources from casual viewing. An interested user can still ask to see hidden datasources - this feature is intended to be used for convenience not security.
|
|
Indicate whether to show this data source in MicroStrategy Desktop or not. This property is used to hide certain datasources from casual viewing. An interested user can still ask to see hidden datasources - this feature is intended to be used for convenience not security.
|
|
This method initializes the data source, and prepares to create session. After Init method is called, the client cannot set the properties of the data source. The client can call Reset method to reset the data source and then can set the properties of the data source.
|
|
Set the Intelligence Server's internal identifier for a 3-tier project. The Intelligence Server assigns an integer value to each project. This number is not recorded in the repository (unlike the ProjectID) and so cannot be assumed to be the same each time a connection is established to the project.
|
|
Get the Intelligence Server's internal identifier for a 3-tier project. The Intelligence Server assigns an integer value to each project. This number is not recorded in the repository (unlike the ProjectID) and so cannot be assumed to be the same each time a connection is established to the project.
|
|
Check whether the data source is initialized. Return true if the data source is initialized; otherwise, return False.
|
|
The localization of this data source. It is used to indicate which localization is used in report results and messages. The default value is LOCALE_USER_DEFAULT.
|
|
The localization of this data source. It is used to indicate which localization is used in report results and messages. The default value is LOCALE_USER_DEFAULT.
|
|
The depository to which the data source points. This property indicates to which the data source points.
|
|
The depository to which the data source points. This property indicates to which the data source points.
|
|
|
|
|
|
The metadata login for pass through authentication against the metadata server.
|
|
The metadata login for pass through authentication against the metadata server.
|
|
The metadata password for pass through authentication against the metadata server.
|
|
The metadata password for pass through authentication against the metadata server.
|
|
Set the version of the metadata. It is an enumeration EnumDSSMDVersion. The current available enumerated values of EnumDSSMDVersion are:
|
|
Get the version of the metadata. It is an enumeration EnumDSSMDVersion. The current available enumerated values of EnumDSSMDVersion are:
|
|
The tier mode corresponding to this data source. It is an enumeration, EnumDSSConnectionMode.
|
|
The tier mode corresponding to this data source. It is an enumeration, EnumDSSConnectionMode.
|
|
The name of the data source.
|
|
The name of the data source.
|
|
Set a changed password to set during the next standard authentication. When this property is set, the ChangeOwnPassword method on IDSSUser will be performed to change the passwd of the login user during authentication of data source initialization.
|
|
Get a changed password to set during the next standard authentication. When this property is set, the ChangeOwnPassword method on IDSSUser will be performed to change the passwd of the login user during authentication of data source initialization.
|
|
|
|
|
|
|
|
|
|
The description of the project.
|
|
Set the ProjectID GUID of the project this data source represents. This property is only valid if Type is DssDataSourceTypeProjectMD4 or DssDataSourceTypeProjectMD7.
|
|
Get the ProjectID GUID of the project this data source represents. This property is only valid if Type is DssDataSourceTypeProjectMD4 or DssDataSourceTypeProjectMD7.
|
|
The name of the project this data source represents. This property is only valid if Type is DssDataSourceTypeProjectMD4 or DssDataSourceTypeProjectMD7.
|
|
The name of the project this data source represents. This property is only valid if Type is DssDataSourceTypeProjectMD4 or DssDataSourceTypeProjectMD7.
|
|
Reset the data source. This method resets the data source to the state before Init() method is performed. After reset, the client can change the properties of the data source. The Reset method does nothing if it is called repeatedly.
|
|
Write the properties of this data source into the registry. This method writes the current data source into registry. If there is an existed information for this data source and OverWritten is 1, the existed information is replaced. If there is an existed information for this data source and OverWritten is 0, an error will be returned.
|
|
The ServerAdmin of this data source for a 3-tier or 4-tier connection. This property is only valid if Mode is DssConnectionModeServerAccess or DssConnectionModeWebAccess.
|
|
The ID of the DSS Server Definition object. The GUID of the ServerDef object that contains a collection of project references. This property is only valid if the mode is DssConnectionModeDirectAccess and Type is DssDataSourceTypeServer.
|
|
The ID of the DSS Server Definition object. The GUID of the ServerDef object that contains a collection of project references. This property is only valid if the mode is DssConnectionModeDirectAccess and Type is DssDataSourceTypeServer.
|
|
The name of the ServerDef object. The name of the ServerDef object that contains a collection of project references. This property is only valid if the mode is DssConnectionModeDirectAccess and Type is DssDataSourceTypeServer.
|
|
The name of the ServerDef object. The name of the ServerDef object that contains a collection of project references. This property is only valid if the mode is DssConnectionModeDirectAccess and Type is DssDataSourceTypeServer.
|
|
Set the session flags for this data source. It is used to indicate how to manage Inbox in 3-tier or 4-tier mode. It is a bit-wise enumeration type EnumDSSSessionFlags. The available enumerated values are:
|
|
Get the session flags for this data source. It is used to indicate how to manage Inbox in 3-tier or 4-tier mode. It is a bit-wise enumeration type EnumDSSSessionFlags. The available enumerated values are:
|
|
The client-server connection time out. It is only valid on a 3-tier or 4-tier data source.
|
|
The client-server connection time out. It is only valid on a 3-tier or 4-tier data source.
|
|
Set the type of this data source. It indicates to which type of depository the data source points. It is an enumeration, EnumDSSDataSourceType.
|
|
Get the type of this data source. It indicates to which type of depository the data source points. It is an enumeration, EnumDSSDataSourceType.
|
|
The WebServerAdmin of this data source (only for 4-tier mode). This property is only valid if Mode is DssConnectionModeWebAccess.
|
|
The login of warehouse database for pass through authentication. The warehouse login of pass through authentication if Type is DssDataSourceTypeProjectMD4 or DssDataSourceTypeProjectMD7.
|
|
The login of warehouse database for pass through authentication. The warehouse login of pass through authentication if Type is DssDataSourceTypeProjectMD4 or DssDataSourceTypeProjectMD7.
|
|
The password of warehouse database for pass through authentication. The warehouse password of pass through authentication if Type is DssDataSourceTypeProjectMD4 or DssDataSourceTypeProjectMD7.
|
|
The password of warehouse database for pass through authentication. The warehouse password of pass through authentication if Type is DssDataSourceTypeProjectMD4 or DssDataSourceTypeProjectMD7.
|