GetSmoHierarchy Método
Returns the disconnected server hierarchy based on the IServer binder metadata.
Espacio de nombres: Microsoft.SqlServer.Management.Dac
Ensamblado: Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)
Sintaxis
'Declaración
Public Shared Function GetSmoHierarchy ( _
metadataServer As IServer _
) As Server
'Uso
Dim metadataServer As IServer
Dim returnValue As Server
returnValue = SmoBuilder.GetSmoHierarchy(metadataServer)
public static Server GetSmoHierarchy(
IServer metadataServer
)
public:
static Server^ GetSmoHierarchy(
IServer^ metadataServer
)
static member GetSmoHierarchy :
metadataServer:IServer -> Server
public static function GetSmoHierarchy(
metadataServer : IServer
) : Server
Parámetros
- metadataServer
Tipo: Microsoft.SqlServer.Management.SqlParser.Metadata. . :: . .IServer
An IServer that contains the binder metadata.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .Server
A Server object containing the server hierarchy data.