Export (0) Print
Expand All

DataSourceDefinition.ConnectString Property

Gets or sets the connection string for a data source.

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

'Declaration
Public Property ConnectString As String
	Get
	Set
'Usage
Dim instance As DataSourceDefinition
Dim value As String

value = instance.ConnectString

instance.ConnectString = value

Property Value

Type: System.String
A String that contains the connection string for a data source.

The connection string that is used is specific to the data extension specified in the Extension property.

This value is ignored if the UseOriginalConnectString property is set to true.

If no value is specified, the connection string will revert to the original string or expression defined in the report.

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

Community Additions

ADD
Show:
© 2014 Microsoft