共用方式為


Add 方法 (AdomdRestriction)

Adds an AdomdRestriction to the collection.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public Function Add ( _
    value As AdomdRestriction _
) As AdomdRestriction
'用途
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