SPSite.IsScriptSafe 方法

Validates the specified uri against the script safe settings of the site collection and returns true if safe, false if not

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
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
)

参数

返回值

类型:System.Boolean

另请参阅

引用

SPSite 类

SPSite 成员

Microsoft.SharePoint 命名空间