Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMbnConnectionManager::GetConnection method

Gets a connection.

Syntax


HRESULT GetConnection(
  [in]          LPCWSTR        connectionID,
  [out, retval] IMbnConnection **mbnConnection
);

Parameters

connectionID [in]

A string containing the connection ID.

mbnConnection [out, retval]

A pointer to an IMbnConnection interface that represents the requested connection. If the method returns anything other than S_OK, then this is NULL.

Return value

This method can return one of these values.

Return codeDescription
S_OK

The method completed successfully.

E_POINTER

The mbnConnection parameter is NULL.

E_OUTOFMEMORY

Could not allocate the required memory.

 

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported

IDL

Mbnapi.idl

See also

IMbnConnectionManager

 

 

Show:
© 2017 Microsoft