M-Files API 23.11.13135.0
BindToVault Method
VaultConnection Object : BindToVault Method
Description
Binds to the vault identified by this vault connection. The default authentication method is used if the login is allowed.
Syntax
Visual Basic
Public Function BindToVault( _
   ByVal ParentWindow As Long, _
   ByVal CanLogIn As Boolean, _
   ByVal ReturnNULLIfCancelledByUser As Boolean _
) As Vault
Parameters
ParentWindow
CanLogIn
ReturnNULLIfCancelledByUser
Return Type
The vault object if the login is successful.
Remarks

Use this method to log into a document vault identified by this vault connection.

The login is performed using the authentication method defined in the M-Files Client settings.

See Also

VaultConnection Object  | VaultConnection Members