![](../icons/Help.png) | CSQLSRVIGetLoginGUI Method (CGXNETCore, String, String, String, Int32, Int32) |
Get/Test login information to SQL Server
Available since Oasis montaj version: 5.1.8
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntaxpublic static void IGetLoginGUI(
CGXNETCore gxNetShared,
string server,
ref string user,
ref string password,
int mode,
ref int win_auth
)
Public Shared Sub IGetLoginGUI (
gxNetShared As CGXNETCore,
server As String,
ByRef user As String,
ByRef password As String,
mode As Integer,
ByRef win_auth As Integer
)
public:
static void IGetLoginGUI(
CGXNETCore^ gxNetShared,
String^ server,
String^% user,
String^% password,
int mode,
int% win_auth
)
static member IGetLoginGUI :
gxNetShared : CGXNETCore *
server : string *
user : string byref *
password : string byref *
mode : int *
win_auth : int byref -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - server
- Type: SystemString
SQL server to use - user
- Type: SystemString
User name (default & returned) - password
- Type: SystemString
Password (default & returned) - mode
- Type: SystemInt32
<define>MFCSQL_DRIVER</define> - win_auth
- Type: SystemInt32
Windows Authentication (default & returned)
See Also