Share via


ITabularFactory.CreateView Method (ISchema, String)

Creates a database view that belongs to the specified ISchema object and has the specified name.

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

Syntax

'Declaration
Function CreateView ( _
    schema As ISchema, _
    name As String _
) As IMutableView
'Usage
Dim instance As ITabularFactory 
Dim schema As ISchema 
Dim name As String 
Dim returnValue As IMutableView 

returnValue = instance.CreateView(schema, _
    name)
IMutableView CreateView(
    ISchema schema,
    string name
)
IMutableView^ CreateView(
    ISchema^ schema, 
    String^ name
)
abstract CreateView : 
        schema:ISchema * 
        name:string -> IMutableView
function CreateView(
    schema : ISchema, 
    name : String
) : IMutableView

Parameters

Return Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableView
An IMutableView object.

See Also

Reference

ITabularFactory Interface

CreateView Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace