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

Visual Basic
Dim instance As ManagementClassPropertyDescription
Dim value As TreatAsType

value = instance.TreatAsTypeForSearch

instance.TreatAsTypeForSearch = value

Syntax

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

/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public void set_TreatAsTypeForSearch (TreatAsType value)
JScript
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