SoapMethodCollectionBase.Remove 方法 (String, 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, _
    methodNamespace As String _
)
用法
Dim instance As SoapMethodCollectionBase 
Dim name As String 
Dim methodNamespace As String

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

参数

  • name
    类型:System.String
    A String value that specifies the SOAP method that is to be removed from the referenced collection.
  • methodNamespace
    类型:System.String
    A String value that specifies the namespace of the SOAP method.

示例

处理 SMO 异常

请参阅

参考

SoapMethodCollectionBase 类

Remove 重载

Microsoft.SqlServer.Management.Smo 命名空间