Свойство Parent
Gets the SqlSmoObject object that is the parent of the Column object.
Пространство имен: 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
A SqlSmoObject object value that specifies the parent that owns the Column object.
См. также