ReportingService2005.TestConnectForDataSourceDefinition(DataSourceDefinition, String, String, String) Method

Definition

public:
 bool TestConnectForDataSourceDefinition(Microsoft::SqlServer::ReportingServices2005::DataSourceDefinition ^ DataSourceDefinition, System::String ^ UserName, System::String ^ Password, [Runtime::InteropServices::Out] System::String ^ % ConnectError);
public bool TestConnectForDataSourceDefinition (Microsoft.SqlServer.ReportingServices2005.DataSourceDefinition DataSourceDefinition, string UserName, string Password, out string ConnectError);
member this.TestConnectForDataSourceDefinition : Microsoft.SqlServer.ReportingServices2005.DataSourceDefinition * string * string * string -> bool
Public Function TestConnectForDataSourceDefinition (DataSourceDefinition As DataSourceDefinition, UserName As String, Password As String, ByRef ConnectError As String) As Boolean

Parameters

DataSourceDefinition
DataSourceDefinition
UserName
String
Password
String
ConnectError
String

Returns

Boolean

Applies to