Moonware.Server.WCF
StartStopPlugin Method



Source Index
Plugin name
if set to true [enabled].
Starts or stops a specific plugin.
Syntax
'Declaration
 
<OperationBehaviorAttribute()>
<PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=True, 
   Action=SecurityAction.Demand, 
   Unrestricted=False)>
Public Function StartStopPlugin( _
   ByVal sourceId As Integer, _
   ByVal pluginName As String, _
   ByVal enabled As Boolean _
) As Boolean
'Usage
 
Dim instance As MoonwareServerWCF
Dim sourceId As Integer
Dim pluginName As String
Dim enabled As Boolean
Dim value As Boolean
 
value = instance.StartStopPlugin(sourceId, pluginName, enabled)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public bool StartStopPlugin( 
   int sourceId,
   string pluginName,
   bool enabled
)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public:
bool StartStopPlugin( 
   int sourceId,
   String^ pluginName,
   bool enabled
) 

Parameters

sourceId
Source Index
pluginName
Plugin name
enabled
if set to true [enabled].

Return Value

true if success, false otherwise
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MoonwareServerWCF Class
MoonwareServerWCF Members

Send Feedback