SoapPayloadMethod Constructor (SoapPayload, String, String, String, String, String)

Initializes a new instance of the SoapPayloadMethod class with the specified SOAP configuration settings, name, database, schema method and method namespace.

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

Syntax

'Declaration
Public Sub New ( _
    soapPayload As SoapPayload, _
    name As String, _
    database As String, _
    schema As String, _
    sqlMethod As String, _
    methodNamespace As String _
)
'Usage
Dim soapPayload As SoapPayload
Dim name As String
Dim database As String
Dim schema As String
Dim sqlMethod As String
Dim methodNamespace As String

Dim instance As New SoapPayloadMethod(soapPayload, _
    name, database, schema, sqlMethod, _
    methodNamespace)
public SoapPayloadMethod(
    SoapPayload soapPayload,
    string name,
    string database,
    string schema,
    string sqlMethod,
    string methodNamespace
)
public:
SoapPayloadMethod(
    SoapPayload^ soapPayload, 
    String^ name, 
    String^ database, 
    String^ schema, 
    String^ sqlMethod, 
    String^ methodNamespace
)
new : 
        soapPayload:SoapPayload * 
        name:string * 
        database:string * 
        schema:string * 
        sqlMethod:string * 
        methodNamespace:string -> SoapPayloadMethod
public function SoapPayloadMethod(
    soapPayload : SoapPayload, 
    name : String, 
    database : String, 
    schema : String, 
    sqlMethod : String, 
    methodNamespace : String
)

Parameters