共用方式為


SetSqlMethod 方法

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub SetSqlMethod ( _
    database As String, _
    schema As String, _
    name As String _
)
'用途
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
)

參數

  • database
    型別: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
    型別: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
    型別: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.

範例

實作端點