Delen via


ConnectionManagerBase.IsQueryValid Method

Determines whether the specified query is valid for the connection manager.

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

Usage

'Usage
Dim instance As ConnectionManagerBase
Dim query As String
Dim returnValue As Boolean

returnValue = instance.IsQueryValid(query)

Syntax

'Declaration
Public MustOverride Function IsQueryValid ( _
    query As String _
) As Boolean
public abstract bool IsQueryValid (
    string query
)
public:
virtual bool IsQueryValid (
    String^ query
) abstract
public abstract boolean IsQueryValid (
    String query
)
public abstract function IsQueryValid (
    query : String
) : boolean

Parameters

  • query
    [in] The name of the query to check for validity.

Return Value

true in all cases.

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

ConnectionManagerBase Class
ConnectionManagerBase Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace