Updates the class rights to the cache.
Namespace:
Microsoft.ConfigurationManagement.ManagementProvider
Assembly:
Microsoft.ConfigurationManagement.ManagementProvider (in
microsoft.configurationmanagement.managementprovider.dll)
Usage
Visual Basic |
Dim instance As ConnectionManagerBase
Dim className As String
Dim returnValue As Integer
returnValue = instance.UpdateClassRightsToCache(className)
|
Syntax
Visual Basic |
Public Function UpdateClassRightsToCache ( _
className As String _
) As Integer
|
C# |
public int UpdateClassRightsToCache (
string className
)
|
C++ |
public:
int UpdateClassRightsToCache (
String^ className
)
|
J# |
public int UpdateClassRightsToCache (
String className
)
|
JScript |
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