共用方式為


AdomdRestriction 建構函式 (String, Object)

Initializes a new instance of the AdomdRestriction class using name and value parameters.

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

語法

'宣告
Public Sub New ( _
    name As String, _
    restrictionValue As Object _
)
'用途
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
)

參數

  • restrictionValue
    型別:System.Object
    The value of the restriction.

請參閱

參考

AdomdRestriction 類別

AdomdRestriction 多載

Microsoft.AnalysisServices.AdomdClient 命名空間