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

Return Value

Type: Microsoft.AnalysisServices.AdomdClient.AdomdRestriction
An AdomdRestriction object.

See Also

Reference

AdomdRestrictionCollection Class

Add Overload

Microsoft.AnalysisServices.AdomdClient Namespace