Condividi tramite


Metodo 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.

Spazio dei nomi  Microsoft.ReportingServices.SharePoint.UI.WebParts
Assembly:  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Sintassi

'Dichiarazione
Public Sub SetBasePermissionsForSandboxAppDomain ( _
    permissions As PermissionSet _
)
'Utilizzo
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
)

Parametri

Osservazioni

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.