共用方式為


ModelRelationshipInstance 類別

Represents a reference from one TSqlObject to another, which might be unresolved.

繼承階層

System.Object
  Microsoft.SqlServer.Dac.Model.ModelRelationshipInstance

命名空間:  Microsoft.SqlServer.Dac.Model
組件:  Microsoft.SqlServer.Dac.Extensions (在 Microsoft.SqlServer.Dac.Extensions.dll 中)

語法

'宣告
Public NotInheritable Class ModelRelationshipInstance
'用途
Dim instance As ModelRelationshipInstance
public sealed class ModelRelationshipInstance
public ref class ModelRelationshipInstance sealed
[<SealedAttribute>]
type ModelRelationshipInstance =  class end
public final class ModelRelationshipInstance

ModelRelationshipInstance 型別公開下列成員。

屬性

  名稱 說明
公用屬性 FromObject The TSqlObject this instance is from. This is the referencing object
公用屬性 Item Retrieves properties for this relationship instance.
公用屬性 Object The TSqlObject this instance references. This is the referenced object.
公用屬性 ObjectName The ObjectIdentifier representing the name of the referenced object.
公用屬性 Relationship The ModelRelationshipClass this instance represents.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetProperty(ModelPropertyClass) Retrieves properties for this relationship instance.
公用方法 GetProperty<T>(ModelPropertyClass) Retrieves properties for this relationship instance.
公用方法 GetType (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

備註

TSqlModelSchema metadata classes provide access to the structure and instance data within a TSqlModelSchema instance.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dac.Model 命名空間