Share via


ClientObjectCollection<T>.Provider property

Gets the class instance from client current runtime context, which implements the IQueryProvider interface that is used to query data from server.

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

Syntax

'Declaration
Public ReadOnly Property Provider As IQueryProvider
    Get
'Usage
Dim instance As ClientObjectCollection
Dim value As IQueryProvider

value = instance.Provider
public IQueryProvider Provider { get; }

Property value

Type: System.Linq.IQueryProvider
An object that is used to query data from the server.

Implements

IQueryable.Provider

See also

Reference

ClientObjectCollection<T> class

ClientObjectCollection<T> members

Microsoft.SharePoint.Client namespace