共用方式為


SoapMethodCollectionBase.Remove 方法 (String)

Removes the specified object from the referenced collection.

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

語法

'宣告
Public Sub Remove ( _
    name As String _
)
'用途
Dim instance As SoapMethodCollectionBase 
Dim name As String

instance.Remove(name)
public void Remove(
    string name
)
public:
void Remove(
    String^ name
)
member Remove : 
        name:string -> unit
public function Remove(
    name : String
)

參數

  • name
    型別:System.String
    A String value that specifies the object that is to be removed from the referenced collection.

範例

處理 SMO 例外狀況

請參閱

參考

SoapMethodCollectionBase 類別

Remove 多載

Microsoft.SqlServer.Management.Smo 命名空間