Click or drag to resize
LyncPlatformLibraryOpenConnection Method (String, Int32, String, String, LyncPlatformLibraryTransPortType)
Opens a SIP connection to a Lync server user endpoint and raises an event of type ConnectionOpen on completion.

Namespace: Inkostar.Classes
Assembly: LyncPlatformLibrary (in LyncPlatformLibrary.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public int OpenConnection(
	string fullyQualifiedLyncServer,
	int lyncServerPortNumber,
	string fullyQualifiedDomainUser,
	string domainUserPassword,
	LyncPlatformLibraryTransPortType transportType
)

Parameters

fullyQualifiedLyncServer
Type: SystemString
The fully qualified Lync server host name.
Examples
mylyncserver.mydomain.com
lyncServerPortNumber
Type: SystemInt32
The Lync front-end server incoming SIP connection port for client connectivity.
Examples
5060
fullyQualifiedDomainUser
Type: SystemString
The fully qualified Lync domain user under whom the connection will be made.
Examples
someuser@mydomain.com
domainUserPassword
Type: SystemString
The Lync domain user password for the user under whom the connection will be made.
transportType
Type: Inkostar.EnumsLyncPlatformLibraryTransPortType
The connection type to the Lync server. Can be one of the following enumeration LyncPlatformLibraryTransPortType

Return Value

Type: Int32
The unique identifier for the current operation.
See Also