Partager via


ManagementClassPropertyDescription.IsSearchable Property

Gets or sets a value that indicates whether the property can be used in a search query.

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

Usage

'Usage
Dim instance As ManagementClassPropertyDescription
Dim value As Boolean

value = instance.IsSearchable

instance.IsSearchable = value

Syntax

'Declaration
<XmlAttributeAttribute("IsSearchable")> _
<DefaultValueAttribute(True)> _
Public Property IsSearchable As Boolean
[XmlAttributeAttribute("IsSearchable")] 
[DefaultValueAttribute(true)] 
public bool IsSearchable { get; set; }
[XmlAttributeAttribute(L"IsSearchable")] 
[DefaultValueAttribute(true)] 
public:
property bool IsSearchable {
    bool get ();
    void set (bool value);
}
/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public boolean get_IsSearchable ()

/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public void set_IsSearchable (boolean value)
DebuggerStepThroughAttribute 
public function get IsSearchable () : boolean

DebuggerStepThroughAttribute 
public function set IsSearchable (value : boolean)

Property Value

true if the property can be used in a search query; otherwise false.

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