共用方式為


CubeAttributeBinding 建構函式 (String, String, String, AttributeBindingType, Int32)

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

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Sub New ( _
    cubeId As String, _
    cubeDimensionId As String, _
    attributeId As String, _
    type As AttributeBindingType, _
    ordinal As Integer _
)
'用途
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
)

參數

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

請參閱

參考

CubeAttributeBinding 類別

CubeAttributeBinding 多載

Microsoft.AnalysisServices 命名空間