Поделиться через


Метод GetSmoObject

Gets a RegSvrSmoObject that is specified by a URN.

Пространство имен:  Microsoft.SqlServer.Management.Smo.RegisteredServers
Сборка:  Microsoft.SqlServer.SmoExtended (в Microsoft.SqlServer.SmoExtended.dll)

Синтаксис

'Декларация
Public Function GetSmoObject ( _
    urn As Urn _
) As RegSvrSmoObject
'Применение
Dim instance As RegisteredServer
Dim urn As Urn
Dim returnValue As RegSvrSmoObject

returnValue = instance.GetSmoObject(urn)
public RegSvrSmoObject GetSmoObject(
    Urn urn
)
public:
RegSvrSmoObject^ GetSmoObject(
    Urn^ urn
)
member GetSmoObject : 
        urn:Urn -> RegSvrSmoObject 
public function GetSmoObject(
    urn : Urn
) : RegSvrSmoObject

Параметры

Возвращаемое значение

Тип: Microsoft.SqlServer.Management.Smo.RegisteredServers. . :: . .RegSvrSmoObject
The RegSvrSmoObject that is specified by a URN.