Share via


Data-source-controls-enabled: Stsadm property (Windows SharePoint Services)

Applies To: Windows SharePoint Services 3.0

 

Topic Last Modified: 2007-09-07

Description

Turns the data source controls on the server on or off. If this setting is set to disabled, no query results are processed. This property is equivalent to the Enable Data Source Controls user interface setting that is located on the Data Retrieval Service page of the SharePoint Central Administration Web site.

Syntax

stsadm -o setproperty

-propertyname data-source-controls-enabled

-propertyvalue {Yes | No}

**\[-url\]** \<https://server\_name\>

The syntax for the getproperty operation is:

stsadm -o getproperty

propertyname data-source-controls-enabled

**\[-url\]** \<https://server\_name\>

Note

You can substitute -pn for -propertyname and -pv for -propertyvalue.

Values

The following table shows possible values.

Name Value

propertyname

Gets or sets the name of the property.

propertyvalue

Yes: Enables data source controls on the server. This is the default setting and is applied to the following data source controls:

  • SPXmlDataSource

  • XmlUrlDataSource

  • SoapDataSource

  • AggregateDataSource

No: Disables data source controls on the server.

url

Typically, a path to the URL of the Web application, in the form http://server_name.

Examples

To set a data source control so that query requests are accepted, use the following syntax:

stsadm -o setproperty -pn data-source-controls-enabled -pv yes

To view the setting for the data-source-controls-enabled property, use the following syntax:

stsadm -o getproperty -pn data-source-controls-enabled