IWMSServer.PlaylistParsers (Visual Basic .NET)

The PlaylistParsers property retrieves an IWMSPlugins collection of playlist parser plug-ins. You can use a playlist parser plug-in to support a playlist format.

IWMSPlugins = IWMSServer.PlaylistParsers

Property Value

An IWMSPluginsIWMSPlugins Object (Visual Basic .NET) containing a collection of playlist parser plug-ins.


This property is read-only.

The following system plug-ins can be accessed using the PlaylistParsers property.



WMS Directory Playlist Parser

Enables you to configure a publishing point to stream Windows Media files from a directory by setting the publishing point path to reference the directory. For a broadcast publishing point, a player will automatically receive all of the files. For an on-demand publishing point, a player can request either a single file or all of the files in the directory.

WMS SMIL Playlist Parser

Provides support for playlist files with a .wsx extension that contain Synchronized Multimedia Integration Language (SMIL) 2.0 syntax. By enabling this plug-in, you can deliver a single stream that consists of content from multiple sources; you can also dynamically change the content structure as it streams.

To create custom playlist parser plug-ins, see Creating Playlist Parser Plug-ins.


Imports Microsoft.WindowsMediaServices.Interop
Imports System.Runtime.InteropServices

Private Sub GetParsers()

    ' Declare variables.
    Dim Server As WMSServer
    Dim Plugins As IWMSPlugins

    ' Create the WMSServer object.
    Server = New WMSServer()

    ' Retrieve the IWMSPlugins interface
    ' containing playlist parser plug-ins.
    Plugins = Server.PlaylistParsers

Catch excCom As COMException
    ' TODO: Handle COM exceptions.
Catch exc As Exception
    ' TODO: Handle errors.
    ' TODO: Clean-up code goes here.
End Try

End Sub


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


IWMSPlugins Object (Visual Basic .NET)

IWMSServer Object (Visual Basic .NET)