Sdílet prostřednictvím


ManagementPackClass.ContainsProperty Method (Guid, 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 id As Guid
Dim propertyExtensionMode As PropertyExtensionMode
Dim returnValue As Boolean

returnValue = instance.ContainsProperty(id, propertyExtensionMode)

Syntax

'Declaration
Public Function ContainsProperty ( _
    id As Guid, _
    propertyExtensionMode As PropertyExtensionMode _
) As Boolean
public bool ContainsProperty (
    Guid id,
    PropertyExtensionMode propertyExtensionMode
)
public:
bool ContainsProperty (
    Guid id, 
    PropertyExtensionMode propertyExtensionMode
)
public boolean ContainsProperty (
    Guid id, 
    PropertyExtensionMode propertyExtensionMode
)
public function ContainsProperty (
    id : Guid, 
    propertyExtensionMode : PropertyExtensionMode
) : boolean

Parameters

  • id
    The property ID.
  • 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