GetSmoObject-Methode
Gets a RegSvrSmoObject that is specified by a URN.
Namespace: Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Public Function GetSmoObject ( _
urn As Urn _
) As RegSvrSmoObject
'Usage
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
Parameter
- urn
Typ: Urn
A Microsoft.SqlServer.Management.Sdk.Sfc.Urn that identifies the object to get.
Rückgabewert
Typ: Microsoft.SqlServer.Management.Smo.RegisteredServers. . :: . .RegSvrSmoObject
The RegSvrSmoObject that is specified by a URN.