Share via


ManagementPackClass.ContainsProperty Method (String, PropertyExtensionMode)

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 ManagementPackClass
Dim name As String
Dim propertyExtensionMode As PropertyExtensionMode
Dim returnValue As Boolean

returnValue = instance.ContainsProperty(name, propertyExtensionMode)

Syntax

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

Parameters

  • name
    The property name.
  • propertyExtensionMode
    The mode of using extended properties.

Return Value

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

ManagementPackClass Class
ManagementPackClass Members
Microsoft.EnterpriseManagement.Configuration Namespace