Delen via


ObjectReference Class

Provides linkage to an object. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.ObjectReference

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

Syntax

'Declaration
Public NotInheritable Class ObjectReference
'Usage
Dim instance As ObjectReference
public sealed class ObjectReference
public ref class ObjectReference sealed
[<SealedAttribute>]
type ObjectReference =  class end
public final class ObjectReference

The ObjectReference type exposes the following members.

Constructors

  Name Description
Public method ObjectReference Initializes a new instance of the ObjectReference class.

Top

Properties

  Name Description
Public property AggregationDesignID Gets or sets the aggregation design identifier for a given ObjectReference object.
Public property AssemblyID Gets or sets the assembly identifier associated with a given ObjectReference object.
Public property CubeID Gets or sets the identifier for the cube in which the object resides.
Public property CubePermissionID Gets or sets the cube permission identifier for the cube in which the object resides.
Public property DatabaseID Gets or sets the identifier for the database in which the object resides.
Public property DatabasePermissionID Gets or sets the database permission identifier for the cube in which the object resides.
Public property DataSourceID Gets or sets the data source identifier for the cube in which the object resides.
Public property DataSourcePermissionID Gets or sets the data source permission identifier for the cube in which the object resides.
Public property DataSourceViewID Gets or sets the data source view identifier for the cube in which the object resides.
Public property DimensionID Gets or sets the dimension identifier in which the object resides.
Public property DimensionPermissionID Gets or sets the dimension permission identifier in which the object resides.
Public property IsValid Gets a value indicating whether the object referenced is valid.
Public property MdxScriptID Gets or sets the MDX Script identifier for the object referenced.
Public property MeasureGroupID Gets or sets the identifier of the measure group in which the object resides.
Public property MiningModelID Gets or sets the identifier of the mining model in which the object resides.
Public property MiningModelPermissionID Gets or sets the mining model permission identifier for the object referenced.
Public property MiningStructureID Gets or sets the mining structure identifier for the object referenced.
Public property MiningStructurePermissionID Gets or sets the mining structure permission identifier for the object referenced.
Public property PartitionID Gets or sets the partition identifier for the object referenced.
Public property PerspectiveID Gets or sets the perspective identifier for the object referenced.
Public property RoleID Gets or sets the role identifier for the object referenced.
Public property TraceID Gets or sets the trace identifier for the object referenced.

Top

Methods

  Name Description
Public methodStatic member Deserialize(XmlReader) Converts an XML representation of an object reference to an ObjectReference object by using an xmlReader.
Public methodStatic member Deserialize(String, Boolean) Converts an XML fragment to the ObjectReference object specified by the xmlFragment and xmlFragmentIsComplete parameters.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public methodStatic member GetObjectReference Infrastructure. Gets the object reference for the specified object.
Public method GetType (Inherited from Object.)
Public method ReadContent Reads the content referenced by the ObjectReference object.
Public methodStatic member ResolveObjectReference(Database, ObjectReference) Infrastructure. Resolves an ObjectReference object with the specified database and object reference.
Public methodStatic member ResolveObjectReference(Server, ObjectReference) Infrastructure. Resolves an ObjectReference object with the specified database and object reference.
Public method ResolveReference(Database) Infrastructure. Resolves an ObjectReference object with the specified database.
Public method ResolveReference(Server) Infrastructure. Resolves an ObjectReference object with the specified server.
Public method ResolveReference(Database, Boolean) Infrastructure. Resolves an ObjectReference object with the specified database and force load.
Public method ResolveReference(Server, Boolean) Infrastructure. Resolves an ObjectReference object with the specified server and force load.
Public method Serialize() Converts the ObjectReference to an XML version.
Public method Serialize(XmlWriter) Converts the ObjectReference to an XML version by using an xmlWriter.
Public method ToString (Inherited from Object.)
Public method WriteContent Writes out a serialized ObjectReference by using an xmlWriter.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.AnalysisServices Namespace