Export (0) Print
Expand All

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)

public interface IView : ITableViewBase, IDatabaseTable, 
	ITabular, ISchemaOwnedObject, IDatabaseObject, IMetadataObject

The IView type exposes the following members.

  NameDescription
Public propertyCollationInfoGets the CollationInfo object that is used by the object collections. (Inherited from IDatabaseTable.)
Public propertyColumnsGets the collection of columns that belong to this object. (Inherited from ITabular.)
Public propertyConstraintsGets a collection of table constraints. (Inherited from IDatabaseTable.)
Public propertyHasCheckOptionGets a value that indicates whether the view uses the WITH CHECK option.
Public propertyHasColumnSpecificationA Boolean value that specifies if the view has a column specification.
Public propertyIndexesGets a collection of table indexes. (Inherited from IDatabaseTable.)
Public propertyIsEncryptedGets a value that indicates whether the view is encrypted.
Public propertyIsQuotedIdentifierOnGets a Boolean value that indicates whether the quoted identifier option is on. (Inherited from ITableViewBase.)
Public propertyIsSchemaBoundGets a value that indicates whether a schema is bound to the view.
Public propertyIsSystemObjectGets a value that indicates whether this is a system object. (Inherited from IDatabaseObject.)
Public propertyNameGets the name of the metadata object. (Inherited from IMetadataObject.)
Public propertyParentGets the IDatabaseObject object that is the parent of this object. (Inherited from IDatabaseObject.)
Public propertyQueryTextGets the Transact-SQL string that defines the view query.
Public propertyReturnsViewMetadataGets a value that indicates whether the metadata is returned with the view data.
Public propertySchemaGets the ISchema object that owns this object. (Inherited from ISchemaOwnedObject.)
Public propertyStatisticsGets a collection of table statistics. (Inherited from IDatabaseTable.)
Public propertyTabularTypeGets the tabular type. (Inherited from ITabular.)
Public propertyTriggersGets a collection of DML triggers. (Inherited from ITableViewBase.)
Public propertyUnaliasedGets the ITabular object that this object is an alias for. (Inherited from ITabular.)
Top

  NameDescription
Public methodAccept<T>(IDatabaseObjectVisitor<T>)Accepts a visit from the specified IDatabaseObjectVisitor<T> object. (Inherited from IDatabaseObject.)
Public methodAccept<T>(IMetadataObjectVisitor<T>)Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)
Public methodAccept<T>(ISchemaOwnedObjectVisitor<T>)Accepts a visit from the specified ISchemaOwnedObjectVisitor<T> object. (Inherited from ISchemaOwnedObject.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft