共用方式為


IVsDetermineWizardTrust.SetWizardTrustLevel(UInt32) Method

Definition

Mark the currently-running wizard as trusted.

public:
 int SetWizardTrustLevel(System::UInt32 dwWizardTrustLevel);
public:
 int SetWizardTrustLevel(unsigned int dwWizardTrustLevel);
int SetWizardTrustLevel(unsigned int dwWizardTrustLevel);
public int SetWizardTrustLevel (uint dwWizardTrustLevel);
abstract member SetWizardTrustLevel : uint32 -> int
Public Function SetWizardTrustLevel (dwWizardTrustLevel As UInteger) As Integer

Parameters

dwWizardTrustLevel
UInt32

[in] The trust level of the currently-running wizard.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to