Compartilhar 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
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  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