IProgram Interface

[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.]

Describes a program.

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client.Live (in Microsoft.WindowsAzure.MediaServices.Client.Live.dll)

Syntax

'Declaration
Public Interface IProgram
'Usage
Dim instance As IProgram
public interface IProgram
public interface class IProgram
type IProgram =  interface end
public interface IProgram

The IProgram type exposes the following members.

Properties

  Name Description
Public property AssetId Gets or sets the ID of the asset for storing channel content.
Public property Channel Gets the channel associated with the program.
Public property ChannelId Gets the ID of the channel containing the program.
Public property Created Gets the program creation date.
Public property Description Gets or sets the description of the program.
Public property DvrWindowLength Gets or sets the length of the DVR window.
Public property EnableArchive Gets or sets whether archiving is enabled. true if archiving is enabled; otherwise, false.
Public property EstimatedDuration Gets or sets the estimated length of the program duration.
Public property Id Gets the unique identifier of the program.
Public property LastModified Gets the program last modification date.
Public property Name Gets the name of the program.
Public property State Gets the program state.

Top

Methods

  Name Description
Public method Delete Deletes the program.
Public method DeleteAsync Deletes the program asynchronously.
Public method SendStartOperation Sends start operation to the service and returns. Use Operations collection to get operation's status.
Public method SendStartOperationAsync Sends start operation to the service asynchronously. Use Operations collection to get operation's status.
Public method SendStopOperation Sends stop operation to the service and returns. Use Operations collection to get operation's status.
Public method SendStopOperationAsync Sends stop operation to the service asynchronously. Use Operations collection to get operation's status.
Public method Start Starts the program.
Public method StartAsync Starts the program asynchronously.
Public method Stop Stops the program.
Public method StopAsync Stops the program asynchronously.
Public method Update Updates this program instance.
Public method UpdateAsync Updates this program instance asynchronously.

Top

See Also

Reference

Microsoft.WindowsAzure.MediaServices.Client Namespace