共用方式為


AdomdRestriction Constructor (String, Object)

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

命名空間: Microsoft.AnalysisServices.AdomdClient
組件: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

語法

'宣告
Public Sub New ( _
    name As String, _
    restrictionValue As Object _
)
public AdomdRestriction (
    string name,
    Object restrictionValue
)
public:
AdomdRestriction (
    String^ name, 
    Object^ restrictionValue
)
public AdomdRestriction (
    String name, 
    Object restrictionValue
)
public function AdomdRestriction (
    name : String, 
    restrictionValue : Object
)

參數

  • name
    The name of the restriction.
  • restrictionValue
    The value of the restriction.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

AdomdRestriction Class
AdomdRestriction Members
Microsoft.AnalysisServices.AdomdClient Namespace