다음을 통해 공유


Parent 속성

Gets the SqlSmoObject object that is the parent of the Column object.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<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
A SqlSmoObject object value that specifies the parent that owns the Column object.