IWithChildResource.WithStoredProcedure Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WithStoredProcedure(String, SqlStoredProcedureResource, CreateUpdateOptions) |
Specifies a stored procedure. |
WithStoredProcedure(String, String, CreateUpdateOptions) |
Specifies a stored procedure. |
WithStoredProcedure(String, SqlStoredProcedureResource, CreateUpdateOptions)
Specifies a stored procedure.
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
Parameters
- name
- String
The name of the stored procedure.
- resource
- SqlStoredProcedureResource
The store procedure resource, no need to specify id.
- options
- CreateUpdateOptions
The options for the store procedure.
Returns
The next stage of the update.
Applies to
WithStoredProcedure(String, String, CreateUpdateOptions)
Specifies a stored procedure.
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
Parameters
- name
- String
The name of the stored procedure.
- body
- String
The store procedure body.
- options
- CreateUpdateOptions
The options for the store procedure.
Returns
The next stage of the update.