Compartilhar via


Construtor AdomdRestriction (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 (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public Sub New ( _
    name As String, _
    restrictionNamespace As String, _
    restrictionValue As Object _
)
'Uso
Dim name As String 
Dim restrictionNamespace As String 
Dim restrictionValue As Object 

Dim instance As New AdomdRestriction(name, restrictionNamespace, _
    restrictionValue)
public AdomdRestriction(
    string name,
    string restrictionNamespace,
    Object restrictionValue
)
public:
AdomdRestriction(
    String^ name, 
    String^ restrictionNamespace, 
    Object^ restrictionValue
)
new : 
        name:string * 
        restrictionNamespace:string * 
        restrictionValue:Object -> AdomdRestriction
public function AdomdRestriction(
    name : String, 
    restrictionNamespace : String, 
    restrictionValue : Object
)

Parâmetros

  • restrictionNamespace
    Tipo: System.String
    The namespace with which the restriction is to be serialized. If blank, the restriction uses the default Discover namespace.
  • restrictionValue
    Tipo: System.Object
    The value of the restriction.

Consulte também

Referência

AdomdRestriction Classe

Sobrecarregado AdomdRestriction

Namespace Microsoft.AnalysisServices.AdomdClient