LinkedServer.EnumColumns Method

Definition

Overloads

EnumColumns()

enumerates the columns of tables defined on a linked server

EnumColumns(String)

enumerates the columns of tables defined on a linked server

EnumColumns(String, String)

enumerates the columns of tables defined on a linked server

EnumColumns(String, String, String)

enumerates the columns of tables defined on a linked server

EnumColumns(String, String, String, String)

enumerates the columns of tables defined on a linked server

EnumColumns()

enumerates the columns of tables defined on a linked server

C#
public System.Data.DataTable EnumColumns();

Returns

Applies to

Microsoft.SqlServer.SqlManagementObjects 160.2004021.0 and Microsoft.SqlServer.SqlManagementObjects 150.18208.0
Product Versions
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0

EnumColumns(String)

enumerates the columns of tables defined on a linked server

C#
public System.Data.DataTable EnumColumns(string tableName);

Parameters

tableName
String

Returns

Applies to

Microsoft.SqlServer.SqlManagementObjects 160.2004021.0 and Microsoft.SqlServer.SqlManagementObjects 150.18208.0
Product Versions
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0

EnumColumns(String, String)

enumerates the columns of tables defined on a linked server

C#
public System.Data.DataTable EnumColumns(string tableName, string schemaName);

Parameters

tableName
String
schemaName
String

Returns

Applies to

Microsoft.SqlServer.SqlManagementObjects 160.2004021.0 and Microsoft.SqlServer.SqlManagementObjects 150.18208.0
Product Versions
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0

EnumColumns(String, String, String)

enumerates the columns of tables defined on a linked server

C#
public System.Data.DataTable EnumColumns(string tableName, string schemaName, string databaseName);

Parameters

tableName
String
schemaName
String
databaseName
String

Returns

Applies to

Microsoft.SqlServer.SqlManagementObjects 160.2004021.0 and Microsoft.SqlServer.SqlManagementObjects 150.18208.0
Product Versions
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0

EnumColumns(String, String, String, String)

enumerates the columns of tables defined on a linked server

C#
public System.Data.DataTable EnumColumns(string tableName, string schemaName, string databaseName, string columnName);

Parameters

tableName
String
schemaName
String
databaseName
String
columnName
String

Returns

Applies to

Microsoft.SqlServer.SqlManagementObjects 160.2004021.0 and Microsoft.SqlServer.SqlManagementObjects 150.18208.0
Product Versions
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0