Поделиться через


AdomdRestrictionCollection.Add Method (String, String, Object)

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

Пространство имен: Microsoft.AnalysisServices.AdomdClient
Сборка: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Синтаксис

'Декларация
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

Параметры

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

Возвращаемое значение

An AdomdRestriction.

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

AdomdRestrictionCollection Class
AdomdRestrictionCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace