共用方式為


IOrderCollection.Create Method

Definition

Overloads

Create(Order)

Places a new order for the customer.

Create(Order, String)

Places a new order for the customer with a Customer User UPN for license assignment.

Create(Order)

Places a new order for the customer.

public Microsoft.Store.PartnerCenter.Models.Orders.Order Create (Microsoft.Store.PartnerCenter.Models.Orders.Order newOrder);
abstract member Create : Microsoft.Store.PartnerCenter.Models.Orders.Order -> Microsoft.Store.PartnerCenter.Models.Orders.Order
Public Function Create (newOrder As Order) As Order

Parameters

newOrder
Order

The new order information.

Returns

The order that was just placed.

Implements

Applies to

Create(Order, String)

Places a new order for the customer with a Customer User UPN for license assignment.

public Microsoft.Store.PartnerCenter.Models.Orders.Order Create (Microsoft.Store.PartnerCenter.Models.Orders.Order newOrder, string customerUserUpn);
abstract member Create : Microsoft.Store.PartnerCenter.Models.Orders.Order * string -> Microsoft.Store.PartnerCenter.Models.Orders.Order
Public Function Create (newOrder As Order, customerUserUpn As String) As Order

Parameters

newOrder
Order

The new order information.

customerUserUpn
String

The customer user UPN for license assignment.

Returns

The order that was just placed.

Applies to