共用方式為


__VSPROFILECATEGORYSECURITY Enumeration

Specifies the current user profile security level returned with calls to GetSecurityLevel.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
Public Enumeration __VSPROFILECATEGORYSECURITY
'用途
Dim instance As __VSPROFILECATEGORYSECURITY
public enum __VSPROFILECATEGORYSECURITY
public enum class __VSPROFILECATEGORYSECURITY
type __VSPROFILECATEGORYSECURITY
public enum __VSPROFILECATEGORYSECURITY

Members

Member name Description
PCSEC_SAFE The settings in this category are safe.
PCSEC_THREAT_VS The settings in this category could threaten the Visual Studio user experience.
PCSEC_THREAT_MACHINE The settings in this category could threaten the machine, or user data.

Remarks

COM Signature

From vsshell80.idl:

enum __VSPROFILECATEGORYSECURITY
{
    PCSEC_SAFE              = 0x00000000,
    PCSEC_THREAT_VS         = 0x00000001,
    PCSEC_THREAT_MACHINE    = 0x00000002,
};
typedef DWORD VSPROFILECATEGORYSECURITY;

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace