Share via


SqlSmoObject.IAlienObject.GetDomainRoot 方法

Returns the root of the domain.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Private Function GetDomainRoot As ISfcDomainLite 
    Implements IAlienObject.GetDomainRoot
用法
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 支持使用显式接口实现,但不支持声明新显式接口实现。

返回值

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

实现

IAlienObject.GetDomainRoot()

请参阅

参考

SqlSmoObject 类

Microsoft.SqlServer.Management.Smo 命名空间