Partilhar via


ISetupPolicy.GetValue(String) Method

Definition

Gets the value of a named policy.

public:
 System::Object ^ GetValue(System::String ^ pwszName);
public object GetValue (string pwszName);
abstract member GetValue : string -> obj
Public Function GetValue (pwszName As String) As Object

Parameters

pwszName
String

The name of the policy to get.

Returns

The value of the named policy.

Exceptions

COM failure, including E_NOTSUPPORT (0x80070032) if the named policy is not supported by this implementation.

Applies to