Utilities.GetModelProperty Method

Applies To: System Center Configuration Manager 2012, System Center Configuration Manager 2012

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Namespace: Microsoft.ConfigurationManagement.ApplicationManagement
Assembly: Microsoft.ConfigurationManagement.ApplicationManagement (in Microsoft.ConfigurationManagement.ApplicationManagement.dll)


Dim type As Type
Dim name As String
Dim declaredOnly As Boolean
Dim returnValue As PropertyInfo

returnValue = Utilities.GetModelProperty(type, name, declaredOnly)


<ExtensionAttribute> _
<SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")> _
Public Shared Function GetModelProperty ( _
    type As Type, _
    name As String, _
    declaredOnly As Boolean _
) As PropertyInfo
[SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 
public static PropertyInfo GetModelProperty (
    Type type,
    string name,
    bool declaredOnly
[SuppressMessageAttribute(L"Microsoft.Performance", L"CA1811:AvoidUncalledPrivateCode")] 
static PropertyInfo^ GetModelProperty (
    Type^ type, 
    String^ name, 
    bool declaredOnly
/** @attribute ExtensionAttribute() */ 
/** @attribute SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode") */ 
public static PropertyInfo GetModelProperty (
    Type type, 
    String name, 
    boolean declaredOnly
SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode") 
public static function GetModelProperty (
    type : Type, 
    name : String, 
    declaredOnly : boolean
) : PropertyInfo

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.


Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also


Utilities Class
Utilities Members
Microsoft.ConfigurationManagement.ApplicationManagement Namespace