TableCollection.Parent Property

 

Applies To: SQL Server 2016 Preview

Gets the Server object that is the parent of the TableCollection object.

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

Syntax

public Database Parent { get; }
public:
property Database^ Parent {
    Database^ get();
}
member Parent : Database with get
Public ReadOnly Property Parent As Database

Property Value

Type: Microsoft.SqlServer.Management.Smo.Database

A Boolean object that is the parent of the TableCollection object.

Examples

Legacy Code Example

Using Collections

See Also

TableCollection Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top