IPublishProperties3.DisallowUrlActivation 属性
获取或设置一个防止已安装的应用程序启动的值,当部署统一资源标识符 (uri) (URI) 访问时。
命名空间: Microsoft.VisualStudio.ManagedInterfaces.Publish
程序集: Microsoft.VisualStudio.ManagedInterfaces.9.0(在 Microsoft.VisualStudio.ManagedInterfaces.9.0.dll 中)
语法
声明
Property DisallowUrlActivation As Boolean
bool DisallowUrlActivation { get; set; }
属性值
类型:System.Boolean
防止已安装的应用程序的true 启动,在部署 URI 访问;否则, false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。