Export (0) Print
Expand All

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

public propertyConnectString The connection string for a data source. String.
public propertyCredentialRetrieval One of the CredentialRetrievalEnum values, indicating the way in which the report server retrieves data source credentials.
public propertyEnabled Indicates whether a data source is enabled. Boolean.
public propertyEnabledSpecified Indicates whether a value for the Enabled property is specified.
public propertyExtension The name of the data source extension: SQL, OLEDB, ODBC, or a custom extension. String.
public propertyImpersonateUser 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.
public propertyImpersonateUserSpecified Indicates whether a value for the ImpersonateUser property is specified.
public propertyPassword The password that the report server uses to connect to a data source. String.
public propertyPrompt The prompt that the report server displays to the user when prompting for credentials. String.
public propertyUserName The user name that the report server uses to connect to a data source. String.
public propertyWindowsCredentials 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.

See Also

Reporting Services Web Service Library

Show:
© 2014 Microsoft