Compartilhar via


ConnectionManagerBase.UpdateClassRightsToCache Method

Updates the class rights to the cache.

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

Usage

'Usage
Dim instance As ConnectionManagerBase
Dim className As String
Dim returnValue As Integer

returnValue = instance.UpdateClassRightsToCache(className)

Syntax

'Declaration
Public Function UpdateClassRightsToCache ( _
    className As String _
) As Integer
public int UpdateClassRightsToCache (
    string className
)
public:
int UpdateClassRightsToCache (
    String^ className
)
public int UpdateClassRightsToCache (
    String className
)
public function UpdateClassRightsToCache (
    className : String
) : int

Parameters

  • className
    [in] Name of a class.

Return Value

A value that indicates the result of the update operation.

Exceptions

Exception type Condition
ArgumentException

The className parameter cannot be null or an empty string.

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