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.
The Properties property retrieves an IWMSNamedValues collection containing name-value pairs that describe the plug-in.
IWMSNamedValues = Plugin.Properties
Property Value
An IWMSNamedValues collection.
Remarks
This property is read-only. For more information, see the IWMSNamedValuesIWMSNamedValues Object (Visual Basic .NET) and the IWMSNamedValueIWMSNamedValue Object (Visual Basic .NET).
Example
Imports Microsoft.WindowsMediaServices.Interop
Imports System.Runtime.InteropServices
Private Sub GetPluginProperties()
' Declare variables.
Dim Server As WMSServer
Dim Plugins As IWMSPlugins
Dim Plugin As IWMSPlugin
Dim Properties As IWMSNamedValues
Try
' Create the WMSServer object.
Server = New WMSServer()
' Retrieve the IWMSPlugins object.
Plugins = Server.Authenticators
' Retrieve information about each plug-in.
For Each Plugin In Plugins
' Retrieve a pointer to a collection of name-value
' pairs containing plug-in properties.
Properties = Plugin.Properties
Next
Catch excCom As COMException
' TODO: Handle COM exceptions.
Catch exc As Exception
' TODO: Handle errors.
Finally
' TODO: Clean-up code goes here.
End Try
End Sub
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
Reference
IWMSNamedValue Object (Visual Basic .NET)