Partager via


ManagementPackElement.Comment Property

Gets the optional comment associated with this management pack element.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As ManagementPackElement
Dim value As String

value = instance.Comment

instance.Comment = value

Syntax

'Declaration
Public Property Comment As String
public string Comment { get; set; }
public:
property String^ Comment {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Comment ()

/** @property */
public void set_Comment (String value)
public function get Comment () : String

public function set Comment (value : String)

Property Value

A string that contains the comment for this management pack element.

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 Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ManagementPackElement Class
ManagementPackElement Members
Microsoft.EnterpriseManagement.Configuration Namespace