ODataServiceProviderGetODataContext Method (Uri, ICredentials)

Scanjour Workflow4 Reference Manual

Note: This API is now obsolete.

Gets and OData service.

Namespace:  Scanjour.Workflow4.Base
Assembly:  Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 23.3.0.0 (23.3.0.0)
Syntax

[ObsoleteAttribute("Please use ODataService GetODataContext(Uri oDataUri, SecurityContext securityContext) instead.", 
	true)]
public static ODataService GetODataContext(
	Uri oDataUri,
	ICredentials credentials = null
)

Parameters

oDataUri
Type: SystemUri
The OData Uri.
credentials (Optional)
Type: System.NetICredentials
The credentials to use.

Return Value

Type: ODataService
The OData service.
See Also

Reference