Compartir a través de


ISCPSecureAuthenticate2::GetSCPSession

banner art

The GetSCPSession method is used to obtain a pointer to the ISCPSecureQuery interface that represents a session object.

Syntax

HRESULT GetSCPSession(ISCPSession**ppSCPSession);

Parameters

ppSCPSession

[out]  Pointer to an ISCPSession object.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Remarks

This method is used to obtain a  secure content provider (SCP) session. An SCP session is useful during transfer of multiple files, where the session can help SCP do some of the operations only once instead of once for every file transfer. This results in better transfer performance.

Requirements

Header: Defined in WMSCP.idl.

Library: mssachlp.lib

See Also