ManagementPackType.TryGetProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tries the get property.
Overloads
TryGetProperty(Guid, ManagementPackProperty) |
Tries the get property. |
TryGetProperty(String, ManagementPackProperty) |
Tries the get property. |
TryGetProperty(Guid, ManagementPackProperty)
Tries the get property.
public:
bool TryGetProperty(Guid id, [Runtime::InteropServices::Out] Microsoft::EnterpriseManagement::Configuration::ManagementPackProperty ^ % managementPackProperty);
public bool TryGetProperty (Guid id, out Microsoft.EnterpriseManagement.Configuration.ManagementPackProperty managementPackProperty);
member this.TryGetProperty : Guid * ManagementPackProperty -> bool
Public Function TryGetProperty (id As Guid, ByRef managementPackProperty As ManagementPackProperty) As Boolean
Parameters
- id
- Guid
The property ID.
- managementPackProperty
- ManagementPackProperty
The management pack property.
Returns
Returns Boolean.
true
if the property is found; otherwise, false
.
Applies to
TryGetProperty(String, ManagementPackProperty)
Tries the get property.
public:
bool TryGetProperty(System::String ^ name, [Runtime::InteropServices::Out] Microsoft::EnterpriseManagement::Configuration::ManagementPackProperty ^ % managementPackProperty);
public bool TryGetProperty (string name, out Microsoft.EnterpriseManagement.Configuration.ManagementPackProperty managementPackProperty);
member this.TryGetProperty : string * ManagementPackProperty -> bool
Public Function TryGetProperty (name As String, ByRef managementPackProperty As ManagementPackProperty) As Boolean
Parameters
- name
- String
The property name.
- managementPackProperty
- ManagementPackProperty
The management pack property.
Returns
Returns Boolean.
true
if the property is found; otherwise, false
.