Compartilhar via


ManagementPackType.ContainsProperty Method (String)

Determines whether this type contains the specified property.

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

Usage

'Usage
Dim instance As ManagementPackType
Dim name As String
Dim returnValue As Boolean

returnValue = instance.ContainsProperty(name)

Syntax

'Declaration
Public Function ContainsProperty ( _
    name As String _
) As Boolean
public bool ContainsProperty (
    string name
)
public:
bool ContainsProperty (
    String^ name
)
public boolean ContainsProperty (
    String name
)
public function ContainsProperty (
    name : String
) : boolean

Parameters

  • name
    The property name.

Return Value

Returns Boolean.

true if this type contains the specified property; otherwise, false.

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

ManagementPackType Class
ManagementPackType Members
Microsoft.EnterpriseManagement.Configuration Namespace