次の方法で共有


ManagementPackRule.DiscardLevel Property

Gets or sets the discard level for the rule.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

'Usage
Dim instance As ManagementPackRule
Dim value As Integer

value = instance.DiscardLevel

instance.DiscardLevel = value

Syntax

'Declaration
Public Property DiscardLevel As Integer
public int DiscardLevel { get; set; }
public:
property int DiscardLevel {
    int get ();
    void set (int value);
}
/** @property */
public int get_DiscardLevel ()

/** @property */
public void set_DiscardLevel (int value)
public function get DiscardLevel () : int

public function set DiscardLevel (value : int)

Property Value

Returns an integer value.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

ManagementPackRule Class
ManagementPackRule Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.