Determines whether a query can be submitted to the query engine for processing. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim queryItem As QueryDescription
Dim returnValue As Boolean

returnValue = Me.CanAddQuery(queryItem)

Syntax

Visual Basic
Protected Overridable Function CanAddQuery ( _
		queryItem As QueryDescription _
) As Boolean
C#
protected virtual bool CanAddQuery (
		QueryDescription queryItem
)
C++
protected:
virtual bool CanAddQuery (
		QueryDescription^ queryItem
)
J#
protected boolean CanAddQuery (
		QueryDescription queryItem
)
JScript
protected function CanAddQuery (
		queryItem : QueryDescription
) : boolean

Parameters

queryItem

[in] QueryDescription object

Return Value

true if the query can be submitted to the query engine; 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