SoapMethodCollectionBase.Remove Method (String, String)

Removes the specified object from the referenced collection.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Remove ( _
    name As String, _
    methodNamespace As String _
)
'Usage
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
)

Parameters

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

Examples

Handling SMO Exceptions

See Also

Reference

SoapMethodCollectionBase Class

Remove Overload

Microsoft.SqlServer.Management.Smo Namespace