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
- schema
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ISchema
The ISchema object that is the parent of the view.
- name
Type: System.String
The name of the view to create.
Return Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableView
An IMutableView object.