IWithChildResource<ParentT>.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.Definition.IWithAttach<ParentT> 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.Definition.IWithAttach<'ParentT>
Public Function WithStoredProcedure (name As String, resource As SqlStoredProcedureResource, Optional options As CreateUpdateOptions = Nothing) As IWithAttach(Of ParentT)
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 definition.
Applies to
WithStoredProcedure(String, String, CreateUpdateOptions)
Specifies a stored procedure.
public Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition.IWithAttach<ParentT> 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.Definition.IWithAttach<'ParentT>
Public Function WithStoredProcedure (name As String, body As String, Optional options As CreateUpdateOptions = Nothing) As IWithAttach(Of ParentT)
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 definition.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET