Delen via


SqlSmoObject.IAlienObject.GetDomainRoot Method

Returns the root of the domain.

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

Syntax

'Declaration
Private Function GetDomainRoot As ISfcDomainLite 
    Implements IAlienObject.GetDomainRoot
'Usage
Dim instance As SqlSmoObject 
Dim returnValue As ISfcDomainLite 

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

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDomainLite
An ISfcDomainLite object that represents the root of the domain.

Implements

IAlienObject.GetDomainRoot()

See Also

Reference

SqlSmoObject Class

Microsoft.SqlServer.Management.Smo Namespace