共用方式為


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
)

範例

使用集合