共用方式為


SPWebApplication.CrossDomainPhotosEnabled property

取得或設定跨網域相片] 頁面。

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

Syntax

'宣告
Public Property CrossDomainPhotosEnabled As Boolean
    Get
    Set
'用途
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.CrossDomainPhotosEnabled

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

Property value

Type: System.Boolean
true如果跨網域相片頁面 ;否則,請false。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace