Метод AdomdRestrictionCollection.Add (String, Object)
Creates a new AdomdRestriction with the specified property name and value.
Пространство имен: Microsoft.AnalysisServices.AdomdClient
Сборка: Microsoft.AnalysisServices.AdomdClient (в Microsoft.AnalysisServices.AdomdClient.dll)
Синтаксис
'Декларация
Public Function Add ( _
propertyName As String, _
value As Object _
) As AdomdRestriction
'Применение
Dim instance As AdomdRestrictionCollection
Dim propertyName As String
Dim value As Object
Dim returnValue As AdomdRestriction
returnValue = instance.Add(propertyName, _
value)
public AdomdRestriction Add(
string propertyName,
Object value
)
public:
AdomdRestriction^ Add(
String^ propertyName,
Object^ value
)
member Add :
propertyName:string *
value:Object -> AdomdRestriction
public function Add(
propertyName : String,
value : Object
) : AdomdRestriction
Параметры
- propertyName
Тип: System.String
The name of the AdomdRestriction to be created.
- value
Тип: System.Object
The value of the AdomdRestriction to be created.
Возвращаемое значение
Тип: Microsoft.AnalysisServices.AdomdClient.AdomdRestriction
An AdomdRestriction class.