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


Интерфейс IView

Represents a SQL Server database view. 

Пространство имен:  Microsoft.SqlServer.Management.SqlParser.Metadata
Сборка:  Microsoft.SqlServer.Management.SqlParser (в Microsoft.SqlServer.Management.SqlParser.dll)

Синтаксис

'Декларация
Public Interface IView _
    Inherits ITableViewBase, IDatabaseTable, ITabular, ISchemaOwnedObject,  _
    IDatabaseObject, IMetadataObject
'Применение
Dim instance As IView
public interface IView : ITableViewBase, IDatabaseTable, 
    ITabular, ISchemaOwnedObject, IDatabaseObject, IMetadataObject
public interface class IView : ITableViewBase, 
    IDatabaseTable, ITabular, ISchemaOwnedObject, IDatabaseObject, IMetadataObject
type IView =  
    interface
        interface ITableViewBase
        interface IDatabaseTable
        interface ITabular
        interface ISchemaOwnedObject
        interface IDatabaseObject
        interface IMetadataObject
    end
public interface IView extends ITableViewBase, IDatabaseTable, ITabular, ISchemaOwnedObject, IDatabaseObject, IMetadataObject

Тип IView обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство CollationInfo Gets the CollationInfo object that is used by the object collections. (Производный от IDatabaseTable.)
Открытое свойство Columns Gets the collection of columns that belong to this object. (Производный от ITabular.)
Открытое свойство Constraints Gets a collection of table constraints. (Производный от IDatabaseTable.)
Открытое свойство HasCheckOption Gets a value that indicates whether the view uses the WITH CHECK option.
Открытое свойство HasColumnSpecification A Boolean value that specifies if the view has a column specification.
Открытое свойство Indexes Gets a collection of table indexes. (Производный от IDatabaseTable.)
Открытое свойство IsEncrypted Gets a value that indicates whether the view is encrypted.
Открытое свойство IsQuotedIdentifierOn Gets a Boolean value that indicates whether the quoted identifier option is on. (Производный от ITableViewBase.)
Открытое свойство IsSchemaBound Gets a value that indicates whether a schema is bound to the view.
Открытое свойство IsSystemObject Gets a value that indicates whether this is a system object. (Производный от IDatabaseObject.)
Открытое свойство Name Gets the name of the metadata object. (Производный от IMetadataObject.)
Открытое свойство Parent Gets the IDatabaseObject object that is the parent of this object. (Производный от IDatabaseObject.)
Открытое свойство QueryText Gets the Transact-SQL string that defines the view query.
Открытое свойство ReturnsViewMetadata Gets a value that indicates whether the metadata is returned with the view data.
Открытое свойство Schema Gets the ISchema object that owns this object. (Производный от ISchemaOwnedObject.)
Открытое свойство TabularType Gets the tabular type. (Производный от ITabular.)
Открытое свойство Triggers Gets a collection of DML triggers. (Производный от ITableViewBase.)
Открытое свойство Unaliased Gets the ITabular object that this object is an alias for. (Производный от ITabular.)

В начало

Методы

  Имя Описание
Открытый метод Accept< (Of < <' (T> ) > > )(IDatabaseObjectVisitor< (Of < <' (T> ) > > )) Accepts a visit from the specified IDatabaseObjectVisitor<(Of <(<'T>)>)> object. (Производный от IDatabaseObject.)
Открытый метод Accept< (Of < <' (T> ) > > )(IMetadataObjectVisitor< (Of < <' (T> ) > > )) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (Производный от IMetadataObject.)
Открытый метод Accept< (Of < <' (T> ) > > )(ISchemaOwnedObjectVisitor< (Of < <' (T> ) > > )) Accepts a visit from the specified ISchemaOwnedObjectVisitor<(Of <(<'T>)>)> object. (Производный от ISchemaOwnedObject.)

В начало