Export (0) Print
Expand All

DataSourceDefinition Class

 

Applies To: SQL Server 2016 Preview

Represents a data source definition in the Report Server database.

Namespace:   ReportService2005
Assembly:  ReportService2005 (in ReportService2005.dll)


Public Class DataSourceDefinition
	Inherits DataSourceDefinitionOrReference

NameDescription
System_CAPS_pubmethodDataSourceDefinition()

Initializes a new instance of the DataSourceDefinition class.

NameDescription
System_CAPS_pubpropertyConnectString

Gets or sets the connection string for a data source.

System_CAPS_pubpropertyCredentialRetrieval

Indicates the way in which the Report Server retrieves data source credentials.

System_CAPS_pubpropertyEnabled

Indicates whether a data source is enabled.

System_CAPS_pubpropertyEnabledSpecified

Gets or sets a value that indicates whether the Enabled property is specified.

System_CAPS_pubpropertyExtension

Gets or sets the name of the data source extension: SQL, OLEDB, ODBC, or a custom extension.

System_CAPS_pubpropertyImpersonateUser

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.

System_CAPS_pubpropertyImpersonateUserSpecified

Gets or sets a value that indicates whether the ImpersonateUser property is specified.

System_CAPS_pubpropertyOriginalConnectStringExpressionBased

Indicates whether the original connection string for the data source was expression-based. Read-only.

System_CAPS_pubpropertyPassword

Gets or sets the password that the report server uses to connect to a data source.

System_CAPS_pubpropertyPrompt

Gets or sets the prompt that the report server displays to the user when prompting for credentials.

System_CAPS_pubpropertyUseOriginalConnectString

Specifies whether the data source should revert to the original connection string.

System_CAPS_pubpropertyUserName

Gets or sets the user name that the report server uses to connect to a data source.

System_CAPS_pubpropertyWindowsCredentials

Indicates whether the Report Server passes user-provided or stored credentials as Windows credentials when connecting to a data source.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Use the DataSourceDefinition class with the Item property of the DataSource class.

A DataSourceDefinition object is returned as output by the GetDataSourceContents method and is passed as input to the CreateDataSource and SetDataSourceContents methods.

The DataSourceDefinition class is used for both embedded and shared data sources.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft