Compartilhar via


ConsoleParentNode.CanAddQuery Method

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

'Usage
Dim queryItem As QueryDescription
Dim returnValue As Boolean

returnValue = Me.CanAddQuery(queryItem)

Syntax

'Declaration
Protected Overridable Function CanAddQuery ( _
    queryItem As QueryDescription _
) As Boolean
protected virtual bool CanAddQuery (
    QueryDescription queryItem
)
protected:
virtual bool CanAddQuery (
    QueryDescription^ queryItem
)
protected boolean CanAddQuery (
    QueryDescription queryItem
)
protected function CanAddQuery (
    queryItem : QueryDescription
) : boolean

Parameters

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

Reference

ConsoleParentNode Class
ConsoleParentNode Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
QueryDescription