Partager via


Constructeur CubeAttributeBinding (String, String, String, AttributeBindingType, Int32)

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    cubeId As String, _
    cubeDimensionId As String, _
    attributeId As String, _
    type As AttributeBindingType, _
    ordinal As Integer _
)
'Utilisation
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
)

Paramètres

  • ordinal
    Type : System. . :: . .Int32
    Specifies the ordinal number that the data source binds to in the collection.