SPSite.AllowExternalEmbedding property

Setting that controls external domain embedding for this site collection

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

Syntax

'Declaration
Public Property AllowExternalEmbedding As ScriptSafeExternalEmbedding
    Get
    Set
'Usage
Dim instance As SPSite
Dim value As ScriptSafeExternalEmbedding

value = instance.AllowExternalEmbedding

instance.AllowExternalEmbedding = value
public ScriptSafeExternalEmbedding AllowExternalEmbedding { get; set; }

Property value

Type: Microsoft.SharePoint.ScriptSafeExternalEmbedding

See also

Reference

SPSite class

SPSite members

Microsoft.SharePoint namespace