AdomdRestrictionCollection.Add Method (AdomdRestriction)
Adds an AdomdRestriction to the collection.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)
Syntax
'Declaration
Public Function Add ( _
value As AdomdRestriction _
) As AdomdRestriction
'Usage
Dim instance As AdomdRestrictionCollection
Dim value As AdomdRestriction
Dim returnValue As AdomdRestriction
returnValue = instance.Add(value)
public AdomdRestriction Add(
AdomdRestriction value
)
public:
AdomdRestriction^ Add(
AdomdRestriction^ value
)
member Add :
value:AdomdRestriction -> AdomdRestriction
public function Add(
value : AdomdRestriction
) : AdomdRestriction
Parameters
- value
Type: Microsoft.AnalysisServices.AdomdClient.AdomdRestriction
The AdomdRestriction to be added.
Return Value
Type: Microsoft.AnalysisServices.AdomdClient.AdomdRestriction
An AdomdRestriction object.