Condividi tramite


Metodo AdomdRestrictionCollection.Add (String, String, Object)

Creates a new AdomdRestriction with the specified property name, namespace, and value.

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Public Function Add ( _
    propertyName As String, _
    propertyNamespace As String, _
    value As Object _
) As AdomdRestriction
'Utilizzo
Dim instance As AdomdRestrictionCollection 
Dim propertyName As String 
Dim propertyNamespace As String 
Dim value As Object 
Dim returnValue As AdomdRestriction 

returnValue = instance.Add(propertyName, _
    propertyNamespace, value)
public AdomdRestriction Add(
    string propertyName,
    string propertyNamespace,
    Object value
)
public:
AdomdRestriction^ Add(
    String^ propertyName, 
    String^ propertyNamespace, 
    Object^ value
)
member Add : 
        propertyName:string * 
        propertyNamespace:string * 
        value:Object -> AdomdRestriction
public function Add(
    propertyName : String, 
    propertyNamespace : String, 
    value : Object
) : AdomdRestriction

Parametri

Valore restituito

Tipo: Microsoft.AnalysisServices.AdomdClient.AdomdRestriction
An AdomdRestriction object.

Vedere anche

Riferimento

AdomdRestrictionCollection Classe

Overload Add

Spazio dei nomi Microsoft.AnalysisServices.AdomdClient