Udostępnij za pośrednictwem


Konstruktor AdomdRestriction (String, String, Object)

Inicjuje nowe wystąpienie AdomdRestriction klasy przy użyciu nazwy, obszar nazw i wartości parametrów.

Przestrzeń nazw:  Microsoft.AnalysisServices.AdomdClient
Zestaw:  Microsoft.AnalysisServices.AdomdClient (w Microsoft.AnalysisServices.AdomdClient.dll)

Składnia

'Deklaracja
Public Sub New ( _
    name As String, _
    restrictionNamespace As String, _
    restrictionValue As Object _
)
'Użycie
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
)

Parametry

  • restrictionNamespace
    Typ: System.String
    Obszar nazw, z którym ma być serializowana ograniczenie.Jeśli pole pozostanie puste, ograniczenie używa domyślnie Discover obszaru nazw.