Compartir a través de


ManagementClassPropertyDescription.TreatAsTypeForSearch Property

Gets or sets the treat as type for search value that is used by search functionality to sort items properly during a search without using the actual data types.

Namespace: Microsoft.ConfigurationManagement.AdminConsole.Schema
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim instance As ManagementClassPropertyDescription
Dim value As TreatAsType

value = instance.TreatAsTypeForSearch

instance.TreatAsTypeForSearch = value

Syntax

'Declaration
<DefaultValueAttribute(TreatAsType.None)> _
<XmlAttributeAttribute("TreatAsTypeForSearch")> _
Public Property TreatAsTypeForSearch As TreatAsType
[DefaultValueAttribute(TreatAsType.None)] 
[XmlAttributeAttribute("TreatAsTypeForSearch")] 
public TreatAsType TreatAsTypeForSearch { get; set; }
[DefaultValueAttribute(TreatAsType::None)] 
[XmlAttributeAttribute(L"TreatAsTypeForSearch")] 
public:
property TreatAsType TreatAsTypeForSearch {
    TreatAsType get ();
    void set (TreatAsType value);
}
/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public TreatAsType get_TreatAsTypeForSearch ()

/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public void set_TreatAsTypeForSearch (TreatAsType value)
DebuggerStepThroughAttribute 
public function get TreatAsTypeForSearch () : TreatAsType

DebuggerStepThroughAttribute 
public function set TreatAsTypeForSearch (value : TreatAsType)

Property Value

ManagementClassPropertyDescription.TreatAsType enumeration value.

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 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

ManagementClassPropertyDescription Class
ManagementClassPropertyDescription Members
Microsoft.ConfigurationManagement.AdminConsole.Schema Namespace
ManagementClassPropertyDescription.TreatAsType