DSQuery.ResultNamespace Property
NOTE: This API is now obsolete.
Gets or sets the namespace to use on the query result.
Namespace: Microsoft.SharePoint.Dsp
Assembly: Microsoft.SharePoint.Dsp (in Microsoft.SharePoint.Dsp.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use the Lists web service instead.")> _
Public Property ResultNamespace As String
Get
Set
'Usage
Dim instance As DSQuery
Dim value As String
value = instance.ResultNamespace
instance.ResultNamespace = value
[ObsoleteAttribute("Use the Lists web service instead.")]
public string ResultNamespace { get; set; }
Property Value
Type: System.String
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 https://schemas.microsoft.com/sharepoint/dsp.