Get Column Names

Retrieves the column names from the named table in the MsSql database.


⬅️INPUT

Parameter

Type

Required

Description

ConnectionSettings

PAWMsSqlConnectionSettings

✅Yes

Connection information

TableName

String

✅Yes

Name of the table the columns are retrieved from.


➡️OUTPUT

Name

Data Type

Description

IsGetColumnNamesSuccessful

Boolean

Returns "True" if the operation succeeds, "False" if it fails.

GetColumnNamesMessage

String

Returns the error information received if the operation fails.

GetColumnNamesResult

DataTable

Collection data resulting from the operation.


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Specifies whether an exception is thrown when the operation fails. The default value is "No".