com.onlineobject.objectnet Namespace

NetworkTransportsDatabase..::..GetTransportCode Method

Retrieves the transport code associated with a given transport name.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public int GetTransportCode(

	string name

)

Parameters

name
Type: String
The name of the transport to look up.

Return Value

The code of the transport if found; otherwise, 0.