AdomdRestrictionCollection.Add 메서드 (String, Object)

Creates a new AdomdRestriction with the specified property name and value.

네임스페이스:  Microsoft.AnalysisServices.AdomdClient
어셈블리:  Microsoft.AnalysisServices.AdomdClient(Microsoft.AnalysisServices.AdomdClient.dll)

구문

‘선언
Public Function Add ( _
    propertyName As String, _
    value As Object _
) As AdomdRestriction
‘사용 방법
Dim instance As AdomdRestrictionCollection 
Dim propertyName As String 
Dim value As Object 
Dim returnValue As AdomdRestriction 

returnValue = instance.Add(propertyName, _
    value)
public AdomdRestriction Add(
    string propertyName,
    Object value
)
public:
AdomdRestriction^ Add(
    String^ propertyName, 
    Object^ value
)
member Add : 
        propertyName:string * 
        value:Object -> AdomdRestriction
public function Add(
    propertyName : String, 
    value : Object
) : AdomdRestriction

매개 변수

반환 값

유형: Microsoft.AnalysisServices.AdomdClient.AdomdRestriction
An AdomdRestriction class.

참고 항목

참조

AdomdRestrictionCollection 클래스

Add 오버로드

Microsoft.AnalysisServices.AdomdClient 네임스페이스