次の方法で共有


ManagementPackElement.Comment Property

Gets the optional comment associated with this ManagementPack element.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.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 ManagementPackPack 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 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

ManagementPackElement Class
ManagementPackElement Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.