EnumTables 方法 (String, String, String, LinkedTableType)

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Function EnumTables ( _
    tableName As String, _
    schemaName As String, _
    databaseName As String, _
    tableType As LinkedTableType _
) As DataTable
用法
Dim instance As LinkedServer
Dim tableName As String
Dim schemaName As String
Dim databaseName As String
Dim tableType As LinkedTableType
Dim returnValue As DataTable

returnValue = instance.EnumTables(tableName, _
    schemaName, databaseName, tableType)
public DataTable EnumTables(
    string tableName,
    string schemaName,
    string databaseName,
    LinkedTableType tableType
)
public:
DataTable^ EnumTables(
    String^ tableName, 
    String^ schemaName, 
    String^ databaseName, 
    LinkedTableType tableType
)
member EnumTables : 
        tableName:string * 
        schemaName:string * 
        databaseName:string * 
        tableType:LinkedTableType -> DataTable 
public function EnumTables(
    tableName : String, 
    schemaName : String, 
    databaseName : String, 
    tableType : LinkedTableType
) : DataTable

参数

返回值

类型:System.Data. . :: . .DataTable