Click or drag to resize

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

Get/Test login information to SQL Server

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.2.0.42
Syntax
public static void IGetLoginGUI(
	CGXNETCore gxNetShared,
	string server,
	ref string user,
	int user_size,
	ref string password,
	int password_size,
	int mode,
	ref int win_auth
)

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

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
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