Share via


SPWebApplication.AllowSilverlightPrompt property

Gets or sets a value that indicates whether UI elements that use Microsoft Silverlight to render should prompt the user to download the Silverlight application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property AllowSilverlightPrompt As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.AllowSilverlightPrompt

instance.AllowSilverlightPrompt = value
public bool AllowSilverlightPrompt { get; set; }

Property value

Type: System.Boolean
true to specify that the user be prompted to download Silverlight; otherwise, false. By default, this property is set to true.

Remarks

This property does not affect the behavior of UI elements. It is used only to indicate how the UI elements that are rendered by Silverlight should behave.

This property can only be set by a user with administrator level privileges for the server farm.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace