ManagedComputer.GetSmoObject 메서드
Gets the WmiSmoObject object with the specified Uniform Resource Name (URN) address.
네임스페이스: Microsoft.SqlServer.Management.Smo.Wmi
어셈블리: Microsoft.SqlServer.SqlWmiManagement(Microsoft.SqlServer.SqlWmiManagement.dll)
구문
‘선언
Public Function GetSmoObject ( _
urn As Urn _
) As WmiSmoObject
‘사용 방법
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
매개 변수
- urn
유형: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
A Urn object with the specified URN address.
반환 값
유형: Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject
A WmiSmoObject object that represents the object with the specified URN address.
예
WMI 공급자를 사용하여 서비스 및 네트워크 설정 관리
참고 항목
참조
Microsoft.SqlServer.Management.Smo.Wmi 네임스페이스