Partilhar via


CellPermission Constructor (CellPermissionAccess, String)

Initializes a new instance of CellPermission using an access and expression parameter.

Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntax

'Declaration
Public Sub New ( _
    access As CellPermissionAccess, _
    expression As String _
)
public CellPermission (
    CellPermissionAccess access,
    string expression
)
public:
CellPermission (
    CellPermissionAccess access, 
    String^ expression
)
public CellPermission (
    CellPermissionAccess access, 
    String expression
)
public function CellPermission (
    access : CellPermissionAccess, 
    expression : String
)

Parameters

  • access
    A description of the access permission level.
  • expression
    A String which is interpreted as an MDX expression by the server. It evaluates to true or false (Boolean) by the server.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

CellPermission Class
CellPermission Members
Microsoft.AnalysisServices Namespace