Compartilhar via


Propriedade do RDL Parent

Obtém o objeto SqlSmoObject que é o pai do objeto Column.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcParentAttribute("Table")> _
<SfcParentAttribute("Statistic")> _
<SfcParentAttribute("ForeignKey")> _
<SfcParentAttribute("UserDefinedTableType")> _
<SfcParentAttribute("UserDefinedFunction")> _
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)> _
<SfcParentAttribute("View")> _
<SfcParentAttribute("Rule")> _
<SfcParentAttribute("Default")> _
Public Property Parent As SqlSmoObject
    Get
    Set
'Uso
Dim instance As Column
Dim value As SqlSmoObject

value = instance.Parent

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

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
Um valor do objeto SqlSmoObject que especifica o pai que é o proprietário do objeto Column.