ScopeNodeRelativeItem.CanAddQuery Method
Determines if the scope node relative item can submit a query 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 Overrides Function CanAddQuery ( _
queryItem As QueryDescription _
) As Boolean
protected override bool CanAddQuery (
QueryDescription queryItem
)
protected:
virtual bool CanAddQuery (
QueryDescription^ queryItem
) override
protected boolean CanAddQuery (
QueryDescription queryItem
)
protected override function CanAddQuery (
queryItem : QueryDescription
) : boolean
Parameters
- queryItem
[in] QueryDescription object for the query.
Return Value
true if the relative item can submit the query; otherwise false.
Remarks
Your application must override this method in a derived class.
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
ScopeNodeRelativeItem Class
ScopeNodeRelativeItem Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
QueryDescription