Метод SetBasePermissionsForSandboxAppDomain
Sets the base permissions for the sandbox application domain with the supplied permission set. This method is only applicable when ReportPath is set to a report in a SharePoint document library.
Пространство имен: Microsoft.ReportingServices.SharePoint.UI.WebParts
Сборка: Microsoft.ReportingServices.SharePoint.UI.WebParts (в Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
Синтаксис
'Декларация
Public Sub SetBasePermissionsForSandboxAppDomain ( _
permissions As PermissionSet _
)
'Применение
Dim instance As ReportViewerWebPart
Dim permissions As PermissionSet
instance.SetBasePermissionsForSandboxAppDomain(permissions)
public void SetBasePermissionsForSandboxAppDomain(
PermissionSet permissions
)
public:
void SetBasePermissionsForSandboxAppDomain(
PermissionSet^ permissions
)
member SetBasePermissionsForSandboxAppDomain :
permissions:PermissionSet -> unit
public function SetBasePermissionsForSandboxAppDomain(
permissions : PermissionSet
)
Параметры
- permissions
Тип: System.Security. . :: . .PermissionSet
Замечания
The base permissions in the sandbox application domain apply to custom code assemblies and the evaluation of report expressions. If you change the permissions, make sure that the ReportViewerWebPart cannot be used to access any untrusted report definitions.