3.2.4.6.2 DataSourceName (Put) (Opnum 33)
The DataSourceName (Put) method sets the DataSourceName property.
-
[propput] HRESULT DataSourceName( [in] BSTR dsn );
dsn: Supplies the data source name if the data is stored into a SQL database. The format MUST be SQL:DSN-Name!LogsetName, where DNS-Name is the ODBC data source name and LogsetName is the user caption (the friendly name of the log file).
Return Values: This method MUST return an HRESULT with the severity bit clear on success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1.