Freigeben über


IView-Schnittstelle

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

Der IView-Typ macht folgende Elemente verfügbar.

Eigenschaften

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

Zum Anfang