Share via


DeployManifest.DisallowUrlActivation Property

Gets or sets a value indicating whether the application should be blocked from being started by means of a URL.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Property DisallowUrlActivation As Boolean
public bool DisallowUrlActivation { get; set; }
public:
property bool DisallowUrlActivation {
    bool get ();
    void set (bool value);
}
member DisallowUrlActivation : bool with get, set
function get DisallowUrlActivation () : boolean 
function set DisallowUrlActivation (value : boolean)

Property Value

Type: System.Boolean
true if the application is blocked from being started by means of a URL otherwise, false.

Remarks

If this option is true, the application can only be started from the user's Start menu. The default is false. This option is ignored if Install is false.

.NET Framework Security

See Also

Reference

DeployManifest Class

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace