Partilhar via


DataSourceDefinition.ConnectString Property

Gets or sets the connection string for a data source.

Namespace: Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005
Assembly: ReportService2005 (in reportingservice2005.dll)

Syntax

'Declaration
Public Property ConnectString As String
public string ConnectString { get; set; }
public:
property String^ ConnectString {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_ConnectString ()

/** @property */
public void set_ConnectString (String value)
public function get ConnectString () : String

public function set ConnectString (value : String)

Property Value

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.

Thread Safety

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

DataSourceDefinition Class
DataSourceDefinition Members
Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005 Namespace