Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

IDataServiceQueryProvider.GetResourceType Method

Gets the resource type for the instance that is specified by the parameter.

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

ResourceType GetResourceType(
	Object target


Type: System.Object
Instance to extract a resource type from.

Return Value

Type: System.Data.Services.Providers.ResourceType
The ResourceType of the supplied object.

Returns true if the given instance represents a collection; otherwise returns false.

© 2015 Microsoft