ResultNamespace Property

The ResultNamespace property of the DSQuery class gets or sets the namespace to use on the query result.

Property Value

A string that specifies the namespace.

Remarks

The ResultNamespace property allows the client to use a custom namespace on a particular query result. If this property is set to a valid namespace string, the XML data payload in the response will use this namespace instead of the default namespace, which is the empty namespace in data retrieval services.

Note Data retrieval services only support custom namespaces on data queries. Results for system queries and metadata queries always use the namespace for data retrieval services, which is http://schemas.microsoft.com/sharepoint/dsp.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security