Condividi tramite


DSQuery.ResultContent Property

NOTE: This API is now obsolete.

Gets or sets the type of content that is returned through the query.

Namespace:  Microsoft.SharePoint.Dsp
Assembly:  Microsoft.SharePoint.Dsp (in Microsoft.SharePoint.Dsp.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use the Lists web service instead.")> _
Public Property ResultContent As ResultContentType
    Get
    Set
'Usage
Dim instance As DSQuery
Dim value As ResultContentType

value = instance.ResultContent

instance.ResultContent = value
[ObsoleteAttribute("Use the Lists web service instead.")]
public ResultContentType ResultContent { get; set; }

Property Value

Type: Microsoft.SharePoint.Dsp.ResultContentType
A ResultContentType value that specifies the type of content. The default value is Both.

See Also

Reference

DSQuery Class

DSQuery Members

Microsoft.SharePoint.Dsp Namespace