Export (0) Print
Expand All

ReportingService2005.EnableDataSource Method (String)

 

Applies To: SQL Server 2016 Preview

Enables a data source that is disabled.

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

public void EnableDataSource(
	string DataSource
)

Parameters

DataSource
Type: System.String

The fully qualified URL of the data source.

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

SOAP Headers

(In) BatchHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

UpdateContent

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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft