Compartilhar via


SmsSqmManager.SmsSqmSetBool Method

Sets the indicated data point to the specified value. This method supports the Configuration Manager infrastructure and is not intended to be used directly from your code.

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

Usage

'Usage
Dim instance As SmsSqmManager
Dim dataPointId As Integer
Dim value As Boolean

instance.SmsSqmSetBool(dataPointId, value)

Syntax

'Declaration
Public Sub SmsSqmSetBool ( _
    dataPointId As Integer, _
    value As Boolean _
)
public void SmsSqmSetBool (
    int dataPointId,
    bool value
)
public:
void SmsSqmSetBool (
    int dataPointId, 
    bool value
)
public void SmsSqmSetBool (
    int dataPointId, 
    boolean value
)
public function SmsSqmSetBool (
    dataPointId : int, 
    value : boolean
)

Parameters

  • dataPointId
    [in] SQM data point identifier.
  • value
    [in] Boolean value of true or 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

SmsSqmManager Class
SmsSqmManager Members
Microsoft.ConfigurationManagement.AdminConsole Namespace