DSQuery.resultNamespace Property
Gets or sets the namespace to use on the query result.
Namespace: [DspSts Web service]
Web service reference: http://Site/_vti_bin/DspSts.asmx
Syntax
'Declaration
Public Property resultNamespace As String
Get
Set
'Usage
Dim instance As DSQuery
Dim value As String
value = instance.resultNamespace
instance.resultNamespace = value
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 uses this namespace instead of the default namespace, which is the empty namespace in data retrieval services.
Note
Data retrieval services support only 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.