ReportingService2005.DisableDataSource(String) Method

Definition

Disables a data source that is enabled.

public:
 void DisableDataSource(System::String ^ DataSource);
public void DisableDataSource (string DataSource);
member this.DisableDataSource : string -> unit
Public Sub DisableDataSource (DataSource As String)

Parameters

DataSource
String

The fully qualified URL of the data source.

Remarks

The table below shows header and permissions information on this operation.

SOAP Headers (In) BatchHeaderValue

(Out) ServerInfoHeaderValue
Required Permissions UpdateContent

Reports and data-driven subscriptions that refer to the data source do not run if the data source is disabled.

The length of the DataSource parameter cannot exceed 260 characters; otherwise, a SOAP exception is thrown with the error code rsItemLengthExceeded.

The DataSource parameter cannot be null or empty or contain the following reserved characters: : ? ; @ & = + $ , \ * > < | . ". You can use the forward slash character (/) to separate items in the full path name of the folder, but you cannot use it at the end of the folder name.

Applies to