Skip to content

Set CosmosDbStoredProcedureType

Daniel Scott-Raynsford edited this page Mar 9, 2018 · 2 revisions

external help file: CosmosDB-help.xml Module Name: CosmosDB online version: schema: 2.0.0

Set-CosmosDbStoredProcedureType

SYNOPSIS

Set the custom Cosmos DB stored procedure types to the stored procedure returned by an API call.

SYNTAX

Set-CosmosDbStoredProcedureType [-StoredProcedure] <Object> [<CommonParameters>]

DESCRIPTION

This function applies the custom types to the stored procedure returned by an API call.

EXAMPLES

Example 1

PS C:\> Set-CosmosDbStoredProcedureType -StoredProcedure $storedProcedure

Apply the stored procedure data type to the object provided stored procedure.

PARAMETERS

-StoredProcedure

This is the stored procedure that is returned by a stored procedure API call.

Type: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES

RELATED LINKS

CosmosDB Cmdlets

Clone this wiki locally