Jaa


AdomdRestrictionCollection.Add Method (String, String, Object)

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

Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntax

'Declaration
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

Parameters

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

Return Value

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AdomdRestrictionCollection Class
AdomdRestrictionCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace