Parent Propiedad
Obtiene el objeto SqlSmoObject que es elemento primario del objeto Column.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<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 de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
Valor del objeto SqlSmoObject que especifica el elemento primario al que pertenece el objeto Column.