Méthode GetSmoObject
Gets a RegSvrSmoObject that is specified by a URN.
Espace de noms : Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly : Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Syntaxe
'Déclaration
Public Function GetSmoObject ( _
urn As Urn _
) As RegSvrSmoObject
'Utilisation
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
Paramètres
- urn
Type : Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Urn
A Microsoft.SqlServer.Management.Sdk.Sfc.Urn that identifies the object to get.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo.RegisteredServers. . :: . .RegSvrSmoObject
The RegSvrSmoObject that is specified by a URN.