Moonware.Server.WCF
ConnectPluginJson Method



SourceIndex
Name of the plugin.
List of Moonware.Common.SerializableEnum with the parameters. The default values can be retrieved using GetAvailablePlugins
Same as ConnectPlugin (Json friendly).
Syntax
'Declaration
 
<OperationBehaviorAttribute()>
<PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=True, 
   Action=SecurityAction.Demand, 
   Unrestricted=False)>
Public Function ConnectPluginJson( _
   ByVal sourceIdx As Integer, _
   ByVal pluginName As String, _
   ByVal parameters As String _
) As Integer
'Usage
 
Dim instance As MoonwareServerWCF
Dim sourceIdx As Integer
Dim pluginName As String
Dim parameters As String
Dim value As Integer
 
value = instance.ConnectPluginJson(sourceIdx, pluginName, parameters)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public int ConnectPluginJson( 
   int sourceIdx,
   string pluginName,
   string parameters
)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public:
int ConnectPluginJson( 
   int sourceIdx,
   String^ pluginName,
   String^ parameters
) 

Parameters

sourceIdx
SourceIndex
pluginName
Name of the plugin.
parameters
List of Moonware.Common.SerializableEnum with the parameters. The default values can be retrieved using GetAvailablePlugins

Return Value

System.Int32, -1 in case of failure, >= 0 in case of success.
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