SqlSmoObject.IAlienObject.GetParent Method

Gets the parent of this object. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

Syntax

'Declaration
Private Function GetParent As Object 
    Implements IAlienObject.GetParent
'Usage
Dim instance As SqlSmoObject 
Dim returnValue As Object 

returnValue = CType(instance, IAlienObject).GetParent()
Object IAlienObject.GetParent()
private:
virtual Object^ GetParent() sealed = IAlienObject::GetParent
private abstract GetParent : unit -> Object  
private override GetParent : unit -> Object
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: System.Object
An object that represents the parent of this object.

Implements

IAlienObject.GetParent()

See Also

Reference

SqlSmoObject Class

Microsoft.SqlServer.Management.Smo Namespace