Método GetSmoObject

Obtém o objeto WmiSmoObject com o endereço do URN (Uniform Resource Name) especificado.

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (em Microsoft.SqlServer.SqlWmiManagement.dll)

Sintaxe

'Declaração
Public Function GetSmoObject ( _
    urn As Urn _
) As WmiSmoObject
'Uso
Dim instance As ManagedComputer
Dim urn As Urn
Dim returnValue As WmiSmoObject

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

Parâmetros

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Smo.Wmi. . :: . .WmiSmoObject
Um objeto WmiSmoObject que representa o objeto com o endereço do URN especificado.