Поделиться через


TableViewBase Class

The TableViewBase class is a base class used in the construction of the Table class and View class and therefore contains functionality that is common to both classes.

Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
Public Class TableViewBase
    Inherits ScriptSchemaObjectBase
    Implements IExtendedProperties, IScriptable
public class TableViewBase : ScriptSchemaObjectBase, IExtendedProperties, IScriptable
public ref class TableViewBase : public ScriptSchemaObjectBase, IExtendedProperties, IScriptable
public class TableViewBase extends ScriptSchemaObjectBase implements IExtendedProperties, IScriptable
public class TableViewBase extends ScriptSchemaObjectBase implements IExtendedProperties, IScriptable

Замечания

The Table and View classes are derived from the TableViewBase class. The Table object represents a Microsoft SQL Server table and the View object represents a SQL Server view.

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Management.Smo.SmoObjectBase
     Microsoft.SqlServer.Management.Smo.SqlSmoObject
       Microsoft.SqlServer.Management.Smo.NamedSmoObject
         Microsoft.SqlServer.Management.Smo.ScriptNameObjectBase
           Microsoft.SqlServer.Management.Smo.ScriptSchemaObjectBase
            Microsoft.SqlServer.Management.Smo.TableViewBase
               Microsoft.SqlServer.Management.Smo.Table
               Microsoft.SqlServer.Management.Smo.View

Пример

How to: Create, Alter, and Remove a Table in Visual Basic .NET

How to: Create, Alter, and Remove a View in Visual Basic .NET

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

TableViewBase Members
Microsoft.SqlServer.Management.Smo Namespace

Другие ресурсы

Working with Database Objects
Таблицы
Представления (компонент Database Engine)
CREATE TABLE (Transact-SQL)
CREATE VIEW (Transact-SQL)