Moonware.Server.WCF
SetServiceSettings Method



List of Moonware.Common.SerializableSetting to set.
SetServiceSettings(ServiceSettings 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 SetServiceSettings( _
   ByVal settings As List(Of SerializableSetting) _
) As Boolean
'Usage
 
Dim instance As MoonwareServerWCF
Dim settings As List(Of SerializableSetting)
Dim value As Boolean
 
value = instance.SetServiceSettings(settings)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public bool SetServiceSettings( 
   List<SerializableSetting> settings
)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Edit Settings", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public:
bool SetServiceSettings( 
   List<SerializableSetting^>^ 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