AttributeBinding Constructor (String, AttributeBindingType, Int32)
Initializes a new instance of the AttributeBinding class using an attribute identifier, an attribute type, and an ordinal value.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub New ( _
attributeId As String, _
type As AttributeBindingType, _
ordinal As Integer _
)
'Usage
Dim attributeId As String
Dim type As AttributeBindingType
Dim ordinal As Integer
Dim instance As New AttributeBinding(attributeId, _
type, ordinal)
public AttributeBinding(
string attributeId,
AttributeBindingType type,
int ordinal
)
public:
AttributeBinding(
String^ attributeId,
AttributeBindingType type,
int ordinal
)
new :
attributeId:string *
type:AttributeBindingType *
ordinal:int -> AttributeBinding
public function AttributeBinding(
attributeId : String,
type : AttributeBindingType,
ordinal : int
)
Parameters
- attributeId
Type: System.String
A String that contains a unique identifier for the attribute.
- type
Type: Microsoft.AnalysisServices.AttributeBindingType
The attribute binding type.
- ordinal
Type: System.Int32
For key and translation, this indicates the ordinal number within that collection to bind to.