共用方式為


SPSite.AllowExternalEmbedding property

設定此網站集合的嵌入該控制項外部網域

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

Syntax

'宣告
Public Property AllowExternalEmbedding As ScriptSafeExternalEmbedding
    Get
    Set
'用途
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

請參閱

參照

SPSite class

SPSite members

Microsoft.SharePoint namespace