Partager via


EnterpriseManagementObjectCriteria.PropertyNameToColumnName Method

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

Gets the column name from a property name.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim propertyName As String
Dim qualifiedTypeName As String
Dim returnValue As String

returnValue = Me.PropertyNameToColumnName(propertyName, qualifiedTypeName)

Syntax

'Declaration
Protected Overrides Function PropertyNameToColumnName ( _
    propertyName As String, _
    qualifiedTypeName As String _
) As String
protected override string PropertyNameToColumnName (
    string propertyName,
    string qualifiedTypeName
)
protected:
virtual String^ PropertyNameToColumnName (
    String^ propertyName, 
    String^ qualifiedTypeName
) override
protected String PropertyNameToColumnName (
    String propertyName, 
    String qualifiedTypeName
)
protected override function PropertyNameToColumnName (
    propertyName : String, 
    qualifiedTypeName : String
) : String

Parameters

  • propertyName
    The property name.
  • qualifiedTypeName
    The qualifying type of the property name.

Return Value

The column name.

Exceptions

Exception type Condition
ArgumentNullException

The qualifiedTypeName parameter is a null reference (Nothing in Visual Basic), while the propertyName is not unique.

ObjectNotFoundException

The propertyName parameter is a null reference (Nothing in Visual Basic).

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

EnterpriseManagementObjectCriteria Class
EnterpriseManagementObjectCriteria Members
Microsoft.EnterpriseManagement.Common Namespace