Click or drag to resize

CSQLSRVIGetLoginGUI Method (String, String, Int32, String, Int32, Int32, Int32)

Get/Test login information to SQL Server

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2025.1.0.25
Syntax
public static void IGetLoginGUI(
	string server,
	ref string user,
	int user_size,
	ref string password,
	int password_size,
	int mode,
	ref int win_auth
)

public static void IGetLoginGUI(
	string server,
	ref string user,
	int user_size,
	ref string password,
	int password_size,
	int mode,
	ref int win_auth
)

Parameters

server
Type: SystemString
SQL server to use
user
Type: SystemString
User name (default & returned)
user_size
Type: SystemInt32
Length of User name
password
Type: SystemString
Password (default & returned)
password_size
Type: SystemInt32
Length of Password
mode
Type: SystemInt32
<define>MFCSQL_DRIVER</define>
win_auth
Type: SystemInt32
Windows Authentication (default & returned)
See Also