Method property

SPQuery.Method property

Gets or sets the outer XML for the method portion of a query of an external list.

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

public string Method { get; set; }

Property value

Type: System.String
The outer XML for the method of the query. (a null reference (Nothing in Visual Basic) for a non-external list.)

For external lists, returns the XML defining the method portion of the query. This includes the name of the finder to be executed, together with the finder filter name and value settings. If the Method property is empty, then the default finder will be executed with its default finder filter settings.

Show:
© 2016 Microsoft