ManagedComputer.GetSmoObject Método
Gets the WmiSmoObject object with the specified Uniform Resource Name (URN) address.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Wmi
Ensamblado: Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)
Sintaxis
'Declaración
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
- urn
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
A Urn object with the specified URN address.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject
A WmiSmoObject object that represents the object with the specified URN address.
Ejemplos
Administrar servicios y configuración de red utilizando el proveedor WMI
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo.Wmi