RuleSettings.Profile Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the name of the ProfileSettings object this rule applies to.
public:
property System::String ^ Profile { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("profile", DefaultValue="")]
public string Profile { get; set; }
[<System.Configuration.ConfigurationProperty("profile", DefaultValue="")>]
member this.Profile : string with get, set
Public Property Profile As String
Property Value
The name of the ProfileSettings object this rule applies to.
- Attributes
Examples
The following code example shows how to use the Profile property. This code example is part of a larger example provided for the HealthMonitoringSection class.
ruleSetting.Profile = "Custom";
ruleSetting.Profile = "Custom"
Remarks
The ProfileSettings object referenced by this property must be contained by the same HealthMonitoringSection object that also contains this RuleSettings
object.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für