Share via


IWMSOutgoingDistributionConnection.WrapperPlaylist (C#)

banner art

Previous Next

IWMSOutgoingDistributionConnection.WrapperPlaylist (C#)

The WrapperPlaylist property retrieves the client's wrapper playlist object.

Syntax

  IWMSPlaylist =
  
  OutgoingDistributionConnection
  .WrapperPlaylist;

Property Value

An IWMSPlaylist object.

Remarks

This property is read-only.

Example Code

using Microsoft.WindowsMediaServices.Interop;
using System.Runtime.InteropServices;

// Declare variables.
WMSServer                              Server;
IWMSOutgoingDistributionConnections    Connections;
IWMSOutgoingDistributionConnection     Connection;
IWMSPlaylist                           Playlist;

try {
    // Create a new WMSServer object.
    Server = new WMSServerClass();

    // Retrieve the IWMSOutgoingDistributionConnections object.
    Connections = Server.OutgoingDistributionConnections;

    // Retrieve information about each distribution connection.
    for (int i = 0; i < Connections.Count; i++)
    {
        Connection = Connections[i];

        // Retrieve the wrapper playlist used by the client
        // if one exists.
        Set Playlist = Connection.WrapperPlaylist;
    }







Requirements

Reference: Add a reference to Microsoft.WindowsMediaServices.

Namespace: Microsoft.WindowsMediaServices.Interop.

Assembly: Microsoft.WindowsMediaServices.dll.

Library: WMSServerTypeLib.dll.

Platform: Windows Server 2003 family, Windows Server 2008 family.

See Also

Previous Next