Moonware.Server.WCF Namespace > MoonwareServerWCF Class : SetTcpPortMapping Method |
'Declaration <OperationBehaviorAttribute()> <PrincipalPermissionAttribute(Name="", Role="Edit Settings", Authenticated=True, Action=SecurityAction.Demand, Unrestricted=False)> Public Sub SetTcpPortMapping( _ ByVal router As String, _ ByVal mapping As Dictionary(Of Integer,Boolean) _ )
'Usage Dim instance As MoonwareServerWCF Dim router As String Dim mapping As Dictionary(Of Integer,Boolean) instance.SetTcpPortMapping(router, mapping)
[OperationBehaviorAttribute()] [PrincipalPermissionAttribute(Name="", Role="Edit Settings", Authenticated=true, Action=SecurityAction.Demand, Unrestricted=false)] public void SetTcpPortMapping( string router, Dictionary<int,bool> mapping )
[OperationBehaviorAttribute()] [PrincipalPermissionAttribute(Name="", Role="Edit Settings", Authenticated=true, Action=SecurityAction.Demand, Unrestricted=false)] public: void SetTcpPortMapping( String^ router, Dictionary<int,bool>^ mapping )
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