Delen via


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

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

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 _
)
'Usage
Dim soapPayload As SoapPayload
Dim name As String
Dim database As String
Dim schema As String
Dim sqlMethod As String

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

Parameters