HostProtectionAttribute.SecurityInfrastructure 属性

定义

获取或设置一个值,该值指示是否公开安全基础结构。

public:
 property bool SecurityInfrastructure { bool get(); void set(bool value); };
public bool SecurityInfrastructure { get; set; }
[System.Runtime.InteropServices.ComVisible(true)]
public bool SecurityInfrastructure { get; set; }
member this.SecurityInfrastructure : bool with get, set
[<System.Runtime.InteropServices.ComVisible(true)>]
member this.SecurityInfrastructure : bool with get, set
Public Property SecurityInfrastructure As Boolean

属性值

true 如果安全基础结构公开,则为否则,为 false. 默认值为 false

属性

注解

使用 WindowsIdentity 对象模拟用户是公开安全基础结构的示例。

适用于

另请参阅