com.onlineobject.objectnet Namespace

NetworkTransportsDatabase..::..RegisterTransport Method

Registers a new transport with the given details, or retrieves an existing one if it already exists.

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

Syntax


public NetworkTransportEntry RegisterTransport(

	string name,

	string server,

	string client,

	bool allowDelete

)

Parameters

name
Type: String
The name of the transport to register.
server
Type: String
The server associated with the transport.
client
Type: String
The client associated with the transport.
allowDelete
Type: Boolean
Indicates whether the transport can be deleted. Defaults to true.

Return Value

The registered or retrieved transport entry.