DataSourceDefinition.ConnectString Property

 

Applies To: SQL Server 2016 Preview

Gets or sets the connection string for a data source.

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

Syntax

public string ConnectString { get; set; }
public:
property String^ ConnectString {
    String^ get();
    void set(String^ value);
}
member ConnectString : string with get, set
Public Property ConnectString As String

Property Value

Type: System.String

A String containing the connection string for a data source.

Remarks

The connection string 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.

See Also

DataSourceDefinition Class
ReportService2005 Namespace

Return to top