SPSite.IsScriptSafe method
驗證指定的 uri,針對網站集合的指令碼安全設定,並傳回如果安全的則為 true false,如果不是
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function IsScriptSafe ( _
uri As String _
) As Boolean
'用途
Dim instance As SPSite
Dim uri As String
Dim returnValue As Boolean
returnValue = instance.IsScriptSafe(uri)
public bool IsScriptSafe(
string uri
)
參數
- uri
Type: System.String
傳回值
Type: System.Boolean