DataSourceDefinition Class
SQL Server 2000
Represents a data source definition in the report server database.
Public Class DataSourceDefinition Inherits [Namespace].DataSourceDefinitionOrReference Member of [Namespace]
public class DataSourceDefinition : [Namespace].DataSourceDefinitionOrReference Member of [Namespace]
Public Properties
ConnectString | The connection string for a data source. String. |
CredentialRetrieval | One of the CredentialRetrievalEnum values, indicating the way in which the report server retrieves data source credentials. |
Enabled | Indicates whether a data source is enabled. Boolean. |
EnabledSpecified | Indicates whether a value for the Enabled property is specified. |
Extension | The name of the data source extension: SQL, OLEDB, ODBC, or a custom extension. String. |
ImpersonateUser | Indicates whether the report server attempts to impersonate a user by using stored credentials after a data processing extension has established an authenticated connection to a data source. Boolean. |
ImpersonateUserSpecified | Indicates whether a value for the ImpersonateUser property is specified. |
Password | The password that the report server uses to connect to a data source. String. |
Prompt | The prompt that the report server displays to the user when prompting for credentials. String. |
UserName | The user name that the report server uses to connect to a data source. String. |
WindowsCredentials | Indicates whether the report server passes user-provided or stored credentials as Windows credentials when connecting to a data source. Boolean. |
Remarks
Use the DataSourceDefinition class with the Item property of the DataSource class.
DataSourceDefinition is returned as output by the GetDataSourceContents method and is passed as input to the CreateDataSource and SetDataSourceContents methods.
