Parent プロパティ

Column オブジェクトの親である SqlSmoObject オブジェクトを取得します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcParentAttribute("UserDefinedFunction")> _
<SfcParentAttribute("Statistic")> _
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
<SfcParentAttribute("Table")> _
<SfcParentAttribute("ForeignKey")> _
<SfcParentAttribute("UserDefinedTableType")> _
<SfcParentAttribute("View")> _
<SfcParentAttribute("Rule")> _
<SfcParentAttribute("Default")> _
Public Property Parent As SqlSmoObject
    Get
    Set
'使用
Dim instance As Column
Dim value As SqlSmoObject

value = instance.Parent

instance.Parent = value
[SfcParentAttribute("UserDefinedFunction")]
[SfcParentAttribute("Statistic")]
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
[SfcParentAttribute("Table")]
[SfcParentAttribute("ForeignKey")]
[SfcParentAttribute("UserDefinedTableType")]
[SfcParentAttribute("View")]
[SfcParentAttribute("Rule")]
[SfcParentAttribute("Default")]
public SqlSmoObject Parent { get; set; }
[SfcParentAttribute(L"UserDefinedFunction")]
[SfcParentAttribute(L"Statistic")]
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
[SfcParentAttribute(L"Table")]
[SfcParentAttribute(L"ForeignKey")]
[SfcParentAttribute(L"UserDefinedTableType")]
[SfcParentAttribute(L"View")]
[SfcParentAttribute(L"Rule")]
[SfcParentAttribute(L"Default")]
public:
property SqlSmoObject^ Parent {
    SqlSmoObject^ get ();
    void set (SqlSmoObject^ value);
}
[<SfcParentAttribute("UserDefinedFunction")>]
[<SfcParentAttribute("Statistic")>]
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
[<SfcParentAttribute("Table")>]
[<SfcParentAttribute("ForeignKey")>]
[<SfcParentAttribute("UserDefinedTableType")>]
[<SfcParentAttribute("View")>]
[<SfcParentAttribute("Rule")>]
[<SfcParentAttribute("Default")>]
member Parent : SqlSmoObject with get, set
function get Parent () : SqlSmoObject
function set Parent (value : SqlSmoObject)

プロパティ値

型: Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
Column オブジェクトを所有する親を示す SqlSmoObject オブジェクトの値です。