AdomdRestrictionCollection.Add Method (String, Object)
Creates a new AdomdRestriction with the specified property name 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, _
value As Object _
) As AdomdRestriction
public AdomdRestriction Add (
string propertyName,
Object value
)
public:
AdomdRestriction^ Add (
String^ propertyName,
Object^ value
)
public AdomdRestriction Add (
String propertyName,
Object value
)
public function Add (
propertyName : String,
value : Object
) : AdomdRestriction
Parametri
- propertyName
The name of the AdomdRestriction to be created.
- value
The value of the AdomdRestriction to be created.
Valore restituito
An AdomdRestriction class.
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