Compartilhar via


Construtor AdomdRestriction (String, Object)

Initializes a new instance of the AdomdRestriction class using name and value parameters.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public Sub New ( _
    name As String, _
    restrictionValue As Object _
)
'Uso
Dim name As String
Dim restrictionValue As Object

Dim instance As New AdomdRestriction(name, restrictionValue)
public AdomdRestriction(
    string name,
    Object restrictionValue
)
public:
AdomdRestriction(
    String^ name, 
    Object^ restrictionValue
)
new : 
        name:string * 
        restrictionValue:Object -> AdomdRestriction
public function AdomdRestriction(
    name : String, 
    restrictionValue : Object
)

Parâmetros