共用方式為


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