Export (0) Print
Expand All

DataItem Class

Describes a data item that includes the definition of that data item (size, type and more), and the details of the binding to some source. This class cannot be inherited.

Object
  MarshalByRefObject
    Component
      Microsoft.AnalysisServices.DataItem

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

[TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")]
[DesignerAttribute("Microsoft.AnalysisServices.Design.DataItemDesigner, Microsoft.AnalysisServices.Design", 
	typeof(IDesigner))]
[GuidAttribute("DC06C2CC-28F4-41d0-AB97-7C78561AC9DC")]
public sealed class DataItem : Component, 
	ICloneable

The DataItem type exposes the following members.

  NameDescription
Public methodDataItem()Initializes a new instance of DataItem using default values.
Public methodDataItem(Binding)Initializes a new instance of DataItem for the specified source.
Public methodDataItem(String, String)Initializes a new instance of DataItem for the specified table and column.
Public methodDataItem(Binding, OleDbType)Initializes a new instance of DataItem for the specified source with the specified OleDbType.
Public methodDataItem(String, String, OleDbType)Initializes a new instance of DataItem for the specified table and column with the specified OleDbType.
Public methodDataItem(Binding, OleDbType, Int32)Initializes a new instance of DataItem for the specified source with the specified OleDbType and data size.
Public methodDataItem(String, String, OleDbType, Int32)Initializes a new instance of DataItem for the specified table and column with the specified OleDbType and data size.
Top

  NameDescription
Public propertyStatic memberAllowedDataTypesGets an array with the allowed data types as defined in OLEDB.
Public propertyAnnotationsGets the collection object of all annotations to current DataItem.
Public propertyCollationGets or sets the collation definition for the current DataItem.
Public propertyContainer (Inherited from Component.)
Public propertyDataSizeGets or sets the size for current DataItem.
Public propertyDataTypeGets or sets the type of current DataItem.
Public propertyFormatGets or sets the formatting property for DataItem values.
Public propertyInvalidXmlCharactersGets or sets the behavior for invalid characters in XML streams.
Public propertyMimeTypeGets or sets the Mime type of the current DataItem.
Public propertyNullProcessingGets or sets action the server should take when current DataItem is a Null value.
Public propertyParentGets the parent object of current DataItem.
Public propertySite (Inherited from Component.)
Public propertySourceGets or sets the source object for current DataItem.
Public propertyTrimmingGets or sets the trimming specification for string type DataItem
Top

  NameDescription
Public methodCloneCreates a new, deep copy of current DataItem.
Public methodCopyToCreates a deep copy of current DataItem in the specified object.
Public methodCreateObjRefSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodDispose (Inherited from Component.)
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodGetType (Inherited from Object.)
Public methodInitializeLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodToStringReturns a string representation of current DataItem value. (Overrides ComponentToString.)
Top

  NameDescription
Public eventDisposed (Inherited from Component.)
Top

  NameDescription
Explicit interface implemetationPrivate methodICloneableCloneCreates a new copy of the object instance.
Top

New:   17 July 2006

This element type is used for any data item which can be bound to a data source, for example: measure, attribute keys, and attribute names.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft