FileSegment.Parent Property

 

Gets the parent of the file segment which is either DataFile or LogFile.

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

Syntax

[SfcParentAttribute("DataFile")]
[SfcParentAttribute("LogFile")]
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public SqlSmoObject Parent { get; }
public:
[SfcParentAttribute("DataFile")]
[SfcParentAttribute("LogFile")]
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
property SqlSmoObject^ Parent {
    SqlSmoObject^ get();
}
[<SfcParentAttribute("DataFile")>]
[<SfcParentAttribute("LogFile")>]
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : SqlSmoObject with get
<SfcParentAttribute("DataFile")>
<SfcParentAttribute("LogFile")>
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>
Public ReadOnly Property Parent As SqlSmoObject

Property Value

Type: Microsoft.SqlServer.Management.Smo.SqlSmoObject

The parent of the file segment.

See Also

FileSegment Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top