DSPMetadata TryResolveResourceType Method
Returnes a resource type specified by its name.

Namespace: HotDocs.Sdk.DataServices
Assembly: HotDocs.Sdk.DataServices (in HotDocs.Sdk.DataServices.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public bool TryResolveResourceType(
	string name,
	out ResourceType resourceType
)

Parameters

name
Type: OnlineSystem String
The full name of the resource type (including its namespace).
resourceType
Type: OnlineSystem.Data.Services.Providers ResourceType 
The resource type instance found.

Return Value

Type: OnlineBoolean
true if the resource type was found or false otherwise.

Implements

OnlineIDataServiceMetadataProvider TryResolveResourceType(String, ResourceType )
Remarks

The implementation of this method should be very fast as it will get called for many requests. It should also be fast for non-existing resource types to avoid possible DoS attacks on the service.
See Also