Connects to the specified server.
| Visual Basic |
|---|
Public Function ConnectEx7( _ ByVal ConnectionData As ConnectionData, _ Optional ByVal AuthType As MFAuthType = MFAuthTypeLoggedOnWindowsUser, _ Optional ByVal UserName As Variant, _ Optional ByVal Password As Variant, _ Optional ByVal Domain As Variant, _ Optional ByVal SPN As Variant _ ) As MFServerConnection |
| Value | Description |
|---|---|
| MFAuthTypeLoggedOnWindowsUser | Windows authentication with current user credentials. |
| MFAuthTypeSpecificMFilesUser | M-Files authentication, user needs to specify the credentials. |
| MFAuthTypeSpecificWindowsUser | Windows authentication, user needs to specify the credentials. |
| MFAuthTypeUnknown | Unspecified authentication method. |