IVsDetermineWizardTrust.SetWizardTrustLevel(UInt32) 方法

定义

将当前运行的向导标记为受信任。

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

参数

dwWizardTrustLevel
UInt32

中当前正在运行的向导的信任级别。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

适用于