다음을 통해 공유


RuleSettings.Profile 속성

정의

이 규칙이 적용되는 개체의 ProfileSettings 이름을 가져오거나 설정합니다.

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

속성 값

이 규칙이 적용되는 개체의 ProfileSettings 이름입니다.

특성

예제

다음 코드 예제에서는 속성을 사용 하는 방법을 보여 있습니다 Profile . 이 코드 예제는 클래스에 제공된 더 큰 예제의 HealthMonitoringSection 일부입니다.

ruleSetting.Profile = "Custom";
ruleSetting.Profile = "Custom"

설명

이 속성에서 참조하는 개체는 ProfileSettings 이 개체도 포함하는 동일한 HealthMonitoringSection 개체에 포함되어야 합니다. RuleSettings

개체.

적용 대상

추가 정보