共用方式為


SearchPropertyCollection.Add 方法

Adds a SearchPropertyCollection to the collection.

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

語法

'宣告
Public Sub Add ( _
    searchProperty As SearchProperty _
)
'用途
Dim instance As SearchPropertyCollection 
Dim searchProperty As SearchProperty

instance.Add(searchProperty)
public void Add(
    SearchProperty searchProperty
)
public:
void Add(
    SearchProperty^ searchProperty
)
member Add : 
        searchProperty:SearchProperty -> unit
public function Add(
    searchProperty : SearchProperty
)

參數

範例

使用集合

請參閱

參考

SearchPropertyCollection 類別

Microsoft.SqlServer.Management.Smo 命名空間