Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
| Previous | Next |
IWMSOutgoingDistributionConnection.WrapperPlaylist (C#)
The WrapperPlaylist property retrieves the client's wrapper playlist object.
Syntax
IWMSPlaylist = OutgoingDistributionConnection .WrapperPlaylist;
Property Value
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 |