AdomdRestriction Constructor (String, Object)
Initializes a new instance of the AdomdRestriction class using name and value parameters.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
restrictionValue As Object _
)
'Usage
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
)
Parameters
- name
Type: System.String
The name of the restriction.
- restrictionValue
Type: System.Object
The value of the restriction.