NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Switch.SetSwitchSetting (String, Int32)

Sets the displayName switch to the level specified in value.

[Visual Basic]
Overloads Public Shared Sub SetSwitchSetting( _
   ByVal displayName As String, _
   ByVal value As Integer _
)
[C#]
public static void SetSwitchSetting(
   string displayName,
   int value
);
[C++]
public: static void SetSwitchSetting(
   String* displayName,
   int value
);
[JScript]
public static function SetSwitchSetting(
   displayName : String,
   value : int
);

Parameters

displayName
The name of the switch.
value
The new level to set the switch.

Remarks

Typically, this method is called during initialization.

See Also

Switch Class | Switch Members | System.Diagnostics Namespace | Switch.SetSwitchSetting Overload List | Switch | BooleanSwitch | TraceSwitch | Debug | Trace