OriginBaseCollection.SendCreateOperation Method (String, Int32)
[This topic is pre-release documentation and is subject to change in future releases. Participation in the preview is limited to invitees only. For more information, see the Release Notes.]
Sends create origin operation to the service and returns. Use Operations collection to get operation's status.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client.Live (in Microsoft.WindowsAzure.MediaServices.Client.Live.dll)
Syntax
'Declaration
Public Function SendCreateOperation ( _
name As String, _
reservedUnits As Integer _
) As IOperation
'Usage
Dim instance As OriginBaseCollection
Dim name As String
Dim reservedUnits As Integer
Dim returnValue As IOperation
returnValue = instance.SendCreateOperation(name, _
reservedUnits)
public IOperation SendCreateOperation(
string name,
int reservedUnits
)
public:
IOperation^ SendCreateOperation(
String^ name,
int reservedUnits
)
member SendCreateOperation :
name:string *
reservedUnits:int -> IOperation
public function SendCreateOperation(
name : String,
reservedUnits : int
) : IOperation
Parameters
- name
Type: System.String
Name of the origin.
- reservedUnits
Type: System.Int32
Reserved units.
Return Value
Type: Microsoft.WindowsAzure.MediaServices.Client.IOperation
Operation info that can be used to track the operation.