Moonware.Server.WCF
SetServiceSettingsJson Method



List of Moonware.Common.SerializableSetting to set.
SetServiceSettingsJson(string settings) Sends a new set of settings to the service (will be persisted in app.config)
Syntax
'Declaration
 
<OperationBehaviorAttribute()>
<PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=True, 
   Action=SecurityAction.Demand, 
   Unrestricted=False)>
Public Function SetServiceSettingsJson( _
   ByVal settings As String _
) As Boolean
'Usage
 
Dim instance As MoonwareServerWCF
Dim settings As String
Dim value As Boolean
 
value = instance.SetServiceSettingsJson(settings)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public bool SetServiceSettingsJson( 
   string settings
)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public:
bool SetServiceSettingsJson( 
   String^ settings
) 

Parameters

settings
List of Moonware.Common.SerializableSetting to set.
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