Compartilhar via


AdomdRestriction Constructor (String, String, Object)

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

Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntax

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

Parameters

  • name
    The name of the restriction.
  • restrictionNamespace
    The namespace with which the restriction is to be serialized. If blank, the restriction uses the default Discover namespace.
  • restrictionValue
    The value of the restriction.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AdomdRestriction Class
AdomdRestriction Members
Microsoft.AnalysisServices.AdomdClient Namespace