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)
[ObsoleteAttribute("Please use ODataService GetODataContext(Uri oDataUri, SecurityContext securityContext) instead.",
true)]
public static ODataService GetODataContext(
Uri oDataUri,
ICredentials credentials = null
)
<ObsoleteAttribute("Please use ODataService GetODataContext(Uri oDataUri, SecurityContext securityContext) instead.",
true)>
Public Shared Function GetODataContext (
oDataUri As Uri,
Optional credentials As ICredentials = Nothing
) As ODataService
public:
[ObsoleteAttribute(L"Please use ODataService GetODataContext(Uri oDataUri, SecurityContext securityContext) instead.",
true)]
static ODataService^ GetODataContext(
Uri^ oDataUri,
ICredentials^ credentials = nullptr
)
[<ObsoleteAttribute("Please use ODataService GetODataContext(Uri oDataUri, SecurityContext securityContext) instead.",
true)>]
static member GetODataContext :
oDataUri : Uri *
?credentials : ICredentials
(* Defaults:
let _credentials = defaultArg credentials null
*)
-> ODataService
Parameters
- oDataUri
- Type: SystemUri
The OData Uri. - credentials (Optional)
- Type: System.NetICredentials
The credentials to use.
Return Value
Type:
ODataServiceThe OData service.
Reference