Delen via


CubeAttributeBinding Constructor (String, String, String, AttributeBindingType, Int32)

Initializes a new instance of CubeAttributeBinding for the specified cube, dimension, attribute, binding type, and ordinal place.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Sub New ( _
    cubeId As String, _
    cubeDimensionId As String, _
    attributeId As String, _
    type As AttributeBindingType, _
    ordinal As Integer _
)
'Usage
Dim cubeId As String 
Dim cubeDimensionId As String 
Dim attributeId As String 
Dim type As AttributeBindingType 
Dim ordinal As Integer 

Dim instance As New CubeAttributeBinding(cubeId, _
    cubeDimensionId, attributeId, type, _
    ordinal)
public CubeAttributeBinding(
    string cubeId,
    string cubeDimensionId,
    string attributeId,
    AttributeBindingType type,
    int ordinal
)
public:
CubeAttributeBinding(
    String^ cubeId, 
    String^ cubeDimensionId, 
    String^ attributeId, 
    AttributeBindingType type, 
    int ordinal
)
new : 
        cubeId:string * 
        cubeDimensionId:string * 
        attributeId:string * 
        type:AttributeBindingType * 
        ordinal:int -> CubeAttributeBinding
public function CubeAttributeBinding(
    cubeId : String, 
    cubeDimensionId : String, 
    attributeId : String, 
    type : AttributeBindingType, 
    ordinal : int
)

Parameters

  • cubeId
    Type: System.String
    A String that contains the identifier of the cube.
  • cubeDimensionId
    Type: System.String
    A String that contains the identifier of the cube's dimension.
  • attributeId
    Type: System.String
    A String that contains the identifier of the attribute.
  • ordinal
    Type: System.Int32
    Specifies the ordinal number that the data source binds to in the collection.

See Also

Reference

CubeAttributeBinding Class

CubeAttributeBinding Overload

Microsoft.AnalysisServices Namespace