Share via


DSQuery.resultNamespace property

Gets or sets the namespace to use on the query result.

Namespace:  WebSvcDspSts
Assembly:  STSSOAP (in STSSOAP.dll)

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.

See also

Reference

DSQuery class

DSQuery members

WebSvcDspSts namespace