ObjectReference Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides linkage to an object. This class cannot be inherited.
[System.Serializable]
public sealed class ObjectReference
[<System.Serializable>]
type ObjectReference = class
Public NotInheritable Class ObjectReference
- Inheritance
-
ObjectReference
- Attributes
Constructors
ObjectReference() |
Properties
AssemblyID |
Gets or sets the assembly identifier associated with a given ObjectReference object. |
DatabaseID |
Gets or sets the identifier for the database in which the object resides. |
IsValid |
Gets a value indicating whether the object referenced is valid. |
RoleID |
Gets or sets the role identifier for the object referenced. |
TraceID |
Gets or sets the trace identifier for the object referenced. |
Methods
Deserialize(String, Boolean) |
Converts an XML fragment to the ObjectReference specified by the |
Deserialize(XmlReader) |
Converts an XML representation of an object reference to an ObjectReference object by using an xmlReader. |
GetObjectReference(IMajorObject) |
Gets the object ID of the specified object. |
ReadContent(XmlReader) |
Reads the content referenced by the ObjectReference object. |
ResolveObjectReference(Database, ObjectReference) |
Resolves an ObjectReference object with the specified database and object reference. |
ResolveObjectReference(Server, ObjectReference) |
Resolves an ObjectReference object with the specified database and object reference. |
ResolveReference(Database, Boolean) |
Resolves an ObjectReference object with the specified database and force load. |
ResolveReference(Database) |
Resolves an ObjectReference object with the specified database. |
ResolveReference(Server, Boolean) |
Resolves an ObjectReference object with the specified server and force load. |
ResolveReference(Server) |
Resolves an ObjectReference object with the specified server. |
Serialize() |
Converts the ObjectReference to an XML version. |
Serialize(XmlWriter) |
Converts the ObjectReference to an XML version by using an |
WriteContent(XmlWriter) |
Writes out a serialized ObjectReference by using an xmlWriter. |