SoapPayloadMethod.SetSqlMethod Method

Sets the database name, schema, and name of the stored procedure or user-defined function that is bound to the referenced SOAP payload method.

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

Syntax

'Declaration
Public Sub SetSqlMethod ( _
    database As String, _
    schema As String, _
    name As String _
)
'Usage
Dim instance As SoapPayloadMethod
Dim database As String
Dim schema As String
Dim name As String

instance.SetSqlMethod(database, schema, _
    name)
public void SetSqlMethod(
    string database,
    string schema,
    string name
)
public:
void SetSqlMethod(
    String^ database, 
    String^ schema, 
    String^ name
)
member SetSqlMethod : 
        database:string * 
        schema:string * 
        name:string -> unit 
public function SetSqlMethod(
    database : String, 
    schema : String, 
    name : String
)

Parameters

  • database
    Type: System.String
    A String value that specifies the database required by the stored procedure or user-defined function that is bound to the referenced SOAP payload method.
  • schema
    Type: System.String
    A String value that specifies the schema of the stored procedure or user-defined function that is bound to the referenced SOAP payload method.
  • name
    Type: System.String
    A String value that specifies the name of the stored procedure or user-defined function that is bound to the referenced SOAP payload method.