Metodo ManagedComputer.GetSmoObject
Gets the WmiSmoObject object with the specified Uniform Resource Name (URN) address.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Sintassi
'Dichiarazione
Public Function GetSmoObject ( _
urn As Urn _
) As WmiSmoObject
'Utilizzo
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
Parametri
- urn
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
A Urn object with the specified URN address.
Valore restituito
Tipo: Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject
A WmiSmoObject object that represents the object with the specified URN address.
Esempi
Gestione di servizi e di impostazioni di rete tramite il provider WMI
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi