Share 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 _
)
'Usage
Dim access As CellPermissionAccess 
Dim expression As String 

Dim instance As New CellPermission(access, _
    expression)
public CellPermission(
    CellPermissionAccess access,
    string expression
)
public:
CellPermission(
    CellPermissionAccess access, 
    String^ expression
)
new : 
        access:CellPermissionAccess * 
        expression:string -> CellPermission
public function CellPermission(
    access : CellPermissionAccess, 
    expression : String
)

Parameters

  • expression
    Type: System.String
    A String which is interpreted as an MDX expression by the server. It evaluates to true or false (Boolean) by the server.

See Also

Reference

CellPermission Class

CellPermission Overload

Microsoft.AnalysisServices Namespace