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 命名空间