Moonware.Server.WCF Namespace > MoonwareServerWCF Class : StartStopPlugin Method |
true
[enabled].
'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 )
true
[enabled].true
if success, false
otherwiseTarget 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