IWMSServer.AllowClientsToConnect (C#)
Previous | Next |
IWMSServer.AllowClientsToConnect (C#)
The AllowClientsToConnect property specifies and retrieves a Boolean value that indicates whether the server can receive client connections.
Syntax
IWMSServer .AllowClientsToConnect = bool; bool = IWMSServer.AllowClientsToConnect;
Property Value
A bool indicating whether this server can receive client connections.
Remarks
The default value for this parameter is true.
Example Code
using Microsoft.WindowsMediaServices.Interop; using System.Runtime.InteropServices; } catch (COMException comExc) { // TODO: Handle COM exceptions. } catch (Exception e) { // TODO: Handle exceptions. }
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 |