Condividi tramite


AdomdRestrictionCollection.Add Method (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
public AdomdRestriction Add (
    string propertyName,
    string propertyNamespace,
    Object value
)
public:
AdomdRestriction^ Add (
    String^ propertyName, 
    String^ propertyNamespace, 
    Object^ value
)
public AdomdRestriction Add (
    String propertyName, 
    String propertyNamespace, 
    Object value
)
public function Add (
    propertyName : String, 
    propertyNamespace : String, 
    value : Object
) : AdomdRestriction

Parametri

  • propertyNamespace
    The namespace of the AdomdRestriction to be created.
  • value
    The value of the AdomdRestriction to be created.

Valore restituito

An AdomdRestriction.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

AdomdRestrictionCollection Class
AdomdRestrictionCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace