Share via


IView Interface

Represents a SQL Server database view. 

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Interface IView _
    Inherits ITableViewBase, IDatabaseTable, ITabular, ISchemaOwnedObject,  _
    IDatabaseObject, IMetadataObject
'Usage
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

The IView type exposes the following members.

Properties

  Name Description
Public property CollationInfo Gets the CollationInfo object that is used by the object collections. (Inherited from IDatabaseTable.)
Public property Columns Gets the collection of columns that belong to this object. (Inherited from ITabular.)
Public property Constraints Gets a collection of table constraints. (Inherited from IDatabaseTable.)
Public property HasCheckOption Gets a value that indicates whether the view uses the WITH CHECK option.
Public property HasColumnSpecification A Boolean value that specifies if the view has a column specification.
Public property Indexes Gets a collection of table indexes. (Inherited from IDatabaseTable.)
Public property IsEncrypted Gets a value that indicates whether the view is encrypted.
Public property IsQuotedIdentifierOn Gets a Boolean value that indicates whether the quoted identifier option is on. (Inherited from ITableViewBase.)
Public property IsSchemaBound Gets a value that indicates whether a schema is bound to the view.
Public property IsSystemObject Gets a value that indicates whether this is a system object. (Inherited from IDatabaseObject.)
Public property Name Gets the name of the metadata object. (Inherited from IMetadataObject.)
Public property Parent Gets the IDatabaseObject object that is the parent of this object. (Inherited from IDatabaseObject.)
Public property QueryText Gets the Transact-SQL string that defines the view query.
Public property ReturnsViewMetadata Gets a value that indicates whether the metadata is returned with the view data.
Public property Schema Gets the ISchema object that owns this object. (Inherited from ISchemaOwnedObject.)
Public property Statistics Gets a collection of table statistics. (Inherited from IDatabaseTable.)
Public property TabularType Gets the tabular type. (Inherited from ITabular.)
Public property Triggers Gets a collection of DML triggers. (Inherited from ITableViewBase.)
Public property Unaliased Gets the ITabular object that this object is an alias for. (Inherited from ITabular.)

Top

Methods

  Name Description
Public method Accept<T>(IDatabaseObjectVisitor<T>) Accepts a visit from the specified IDatabaseObjectVisitor<T> object. (Inherited from IDatabaseObject.)
Public method Accept<T>(IMetadataObjectVisitor<T>) Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)
Public method Accept<T>(ISchemaOwnedObjectVisitor<T>) Accepts a visit from the specified ISchemaOwnedObjectVisitor<T> object. (Inherited from ISchemaOwnedObject.)

Top

See Also

Reference

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace