ViewCollection.Add Method

Adds a view to the view collection.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Add ( _
    view As View _
)
'Usage
Dim instance As ViewCollection 
Dim view As View

instance.Add(view)
public void Add(
    View view
)
public:
void Add(
    View^ view
)
member Add : 
        view:View -> unit
public function Add(
    view : View
)

Parameters

Examples

Using Collections

See Also

Reference

ViewCollection Class

Microsoft.SqlServer.Management.Smo Namespace