QueryCriteria.PropertyNameToColumnName Method

Gets the database column name that represents the specified property name.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

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

returnValue = Me.PropertyNameToColumnName(propertyName, qualifiedTypeName)

Syntax

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

Parameters

  • propertyName
    The name of the property to get the database column name for.
  • qualifiedTypeName
    The optional type of the property which specifies the type of the property so that the property is not confused with other properties of the same name.

Return Value

A string that contains the database column name that represents the specified property name.

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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

QueryCriteria Class
QueryCriteria Members
Microsoft.EnterpriseManagement.Common Namespace

Send comments about this topic to Microsoft.