共用方式為


ViewCollection.Add 方法

Adds a view to the view collection.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub Add ( _
    view As View _
)
'用途
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
)

參數

範例

使用集合

請參閱

參考

ViewCollection 類別

Microsoft.SqlServer.Management.Smo 命名空間