Właściwość Parent
Pobiera SqlSmoObject obiekt, który jest elementem nadrzędnym Column obiektu.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Syntax
'Deklaracja
<SfcParentAttribute("Default")> _
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)> _
<SfcParentAttribute("Rule")> _
<SfcParentAttribute("Statistic")> _
<SfcParentAttribute("View")> _
<SfcParentAttribute("Table")> _
<SfcParentAttribute("ForeignKey")> _
<SfcParentAttribute("UserDefinedTableType")> _
<SfcParentAttribute("UserDefinedFunction")> _
Public Property Parent As SqlSmoObject
Get
Set
'Użycie
Dim instance As Column
Dim value As SqlSmoObject
value = instance.Parent
instance.Parent = value
[SfcParentAttribute("Default")]
[SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)]
[SfcParentAttribute("Rule")]
[SfcParentAttribute("Statistic")]
[SfcParentAttribute("View")]
[SfcParentAttribute("Table")]
[SfcParentAttribute("ForeignKey")]
[SfcParentAttribute("UserDefinedTableType")]
[SfcParentAttribute("UserDefinedFunction")]
public SqlSmoObject Parent { get; set; }
[SfcParentAttribute(L"Default")]
[SfcObjectAttribute(SfcObjectRelationship::ParentObject, SfcObjectFlags::Design)]
[SfcParentAttribute(L"Rule")]
[SfcParentAttribute(L"Statistic")]
[SfcParentAttribute(L"View")]
[SfcParentAttribute(L"Table")]
[SfcParentAttribute(L"ForeignKey")]
[SfcParentAttribute(L"UserDefinedTableType")]
[SfcParentAttribute(L"UserDefinedFunction")]
public:
property SqlSmoObject^ Parent {
SqlSmoObject^ get ();
void set (SqlSmoObject^ value);
}
[<SfcParentAttribute("Default")>]
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)>]
[<SfcParentAttribute("Rule")>]
[<SfcParentAttribute("Statistic")>]
[<SfcParentAttribute("View")>]
[<SfcParentAttribute("Table")>]
[<SfcParentAttribute("ForeignKey")>]
[<SfcParentAttribute("UserDefinedTableType")>]
[<SfcParentAttribute("UserDefinedFunction")>]
member Parent : SqlSmoObject with get, set
function get Parent () : SqlSmoObject
function set Parent (value : SqlSmoObject)
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
A SqlSmoObject wartość określająca nadrzędnego, który jest właścicielem obiektu Column obiektu.