| 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.ClassesAssembly: LyncPlatformLibrary (in LyncPlatformLibrary.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic int OpenConnection(
string fullyQualifiedLyncServer,
int lyncServerPortNumber,
string fullyQualifiedDomainUser,
string domainUserPassword,
LyncPlatformLibraryTransPortType transportType
)
Public Function OpenConnection (
fullyQualifiedLyncServer As String,
lyncServerPortNumber As Integer,
fullyQualifiedDomainUser As String,
domainUserPassword As String,
transportType As LyncPlatformLibraryTransPortType
) As Integer
public:
int OpenConnection(
String^ fullyQualifiedLyncServer,
int lyncServerPortNumber,
String^ fullyQualifiedDomainUser,
String^ domainUserPassword,
LyncPlatformLibraryTransPortType transportType
)
member OpenConnection :
fullyQualifiedLyncServer : string *
lyncServerPortNumber : int *
fullyQualifiedDomainUser : string *
domainUserPassword : string *
transportType : LyncPlatformLibraryTransPortType -> int
Parameters
- fullyQualifiedLyncServer
- Type: SystemString
The fully qualified Lync server host name.
Examplesmylyncserver.mydomain.com
- lyncServerPortNumber
- Type: SystemInt32
The Lync front-end server incoming SIP connection port for client connectivity.
Examples5060
- fullyQualifiedDomainUser
- Type: SystemString
The fully qualified Lync domain user under whom the connection will be made.
Examplessomeuser@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