IDatabaseView2 Interface

Provides access to members that request database views.

Members

Name Description
Method CanCreateMaterializedView Fails if a materialized view with the given name and definition cannot be created.
Method CreateMaterializedView Create materialized view from SQL statemnt input.
Method CreateView Create a view.
Method DropView Drop a view.
Read-only property IsMaterializedView Is the table a materialized view?
Read-only property IsView Is the table a view?
Read-only property ViewDefinition Get the view definition.

IDatabaseView2.CanCreateMaterializedView Method

Fails if a materialized view with the given name and definition cannot be created.

Public Function CanCreateMaterializedView ( _
    ByVal materializedViewName As String, _
    ByVal materializedViewDefinition As String _
) As Boolean
public bool CanCreateMaterializedView (
    string materializedViewName,
    string materializedViewDefinition
);

IDatabaseView2.CreateMaterializedView Method

Create materialized view from SQL statemnt input.

Public Sub CreateMaterializedView ( _
    ByVal materializedViewName As String, _
    ByVal materializedViewDefinition As String _
)
public void CreateMaterializedView (
    string materializedViewName,
    string materializedViewDefinition
);

IDatabaseView2.IsMaterializedView Property

Is the table a materialized view?.

Public Function get_IsMaterializedView ( _
    ByVal materializedViewName As String _
) As Boolean
public bool get_IsMaterializedView (
    string materializedViewName
);

Inherited Interfaces

Interfaces Description
IDatabaseView Provides access to members that request database views.

Classes that implement IDatabaseView2

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.