你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithChildResource.WithStoredProcedure 方法

定义

重载

WithStoredProcedure(String, SqlStoredProcedureResource, CreateUpdateOptions)

指定存储过程。

WithStoredProcedure(String, String, CreateUpdateOptions)

指定存储过程。

WithStoredProcedure(String, SqlStoredProcedureResource, CreateUpdateOptions)

指定存储过程。

public Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Update.IUpdate WithStoredProcedure (string name, Microsoft.Azure.Management.CosmosDB.Fluent.Models.SqlStoredProcedureResource resource, Microsoft.Azure.Management.CosmosDB.Fluent.Models.CreateUpdateOptions options = default);
abstract member WithStoredProcedure : string * Microsoft.Azure.Management.CosmosDB.Fluent.Models.SqlStoredProcedureResource * Microsoft.Azure.Management.CosmosDB.Fluent.Models.CreateUpdateOptions -> Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Update.IUpdate
Public Function WithStoredProcedure (name As String, resource As SqlStoredProcedureResource, Optional options As CreateUpdateOptions = Nothing) As IUpdate

参数

name
String

存储过程的名称。

resource
SqlStoredProcedureResource

存储过程资源,无需指定 ID。

options
CreateUpdateOptions

存储过程的选项。

返回

更新的下一阶段。

适用于

WithStoredProcedure(String, String, CreateUpdateOptions)

指定存储过程。

public Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Update.IUpdate WithStoredProcedure (string name, string body, Microsoft.Azure.Management.CosmosDB.Fluent.Models.CreateUpdateOptions options = default);
abstract member WithStoredProcedure : string * string * Microsoft.Azure.Management.CosmosDB.Fluent.Models.CreateUpdateOptions -> Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Update.IUpdate
Public Function WithStoredProcedure (name As String, body As String, Optional options As CreateUpdateOptions = Nothing) As IUpdate

参数

name
String

存储过程的名称。

body
String

存储过程正文。

options
CreateUpdateOptions

存储过程的选项。

返回

更新的下一阶段。

适用于