Compartir a través de


AdomdRestrictionCollection.Add Method (String, Object)

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

Espacio de nombres: Microsoft.AnalysisServices.AdomdClient
Ensamblado: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Sintaxis

'Declaración
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

Parámetros

  • value
    The value of the AdomdRestriction to be created.

Valor devuelto

An AdomdRestriction class.

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

AdomdRestrictionCollection Class
AdomdRestrictionCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace