Click or drag to resize

RESTConnectorGetConnector Method

This function returns a RESTConnector object for the given service and function.

Namespace:  IBM.Watson.DeveloperCloud.Connection
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static RESTConnector GetConnector(
	Credentials credentials,
	string function
)

Parameters

credentials
Type: IBM.Watson.DeveloperCloud.UtilitiesCredentials

[Missing <param name="credentials"/> documentation for "M:IBM.Watson.DeveloperCloud.Connection.RESTConnector.GetConnector(IBM.Watson.DeveloperCloud.Utilities.Credentials,System.String)"]

function
Type: SystemString
The name of the function.

Return Value

Type: RESTConnector
Returns a RESTConnector object or null on error.
See Also