Data-source-controls-enabled: Stsadm property (Office SharePoint Server)

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.

 

Topic Last Modified: 2015-03-09

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\]** *\<http://server\_name\>*

The syntax for the getproperty operation is:

stsadm -o getproperty

propertyname data-source-controls-enabled

**\[-url\]** *\<http://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