Méthode Server.GetSmoObject
Gets a SqlSmoObject that is specified by a URN.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function GetSmoObject ( _
urn As Urn _
) As SqlSmoObject
'Utilisation
Dim instance As Server
Dim urn As Urn
Dim returnValue As SqlSmoObject
returnValue = instance.GetSmoObject(urn)
public SqlSmoObject GetSmoObject(
Urn urn
)
public:
SqlSmoObject^ GetSmoObject(
Urn^ urn
)
member GetSmoObject :
urn:Urn -> SqlSmoObject
public function GetSmoObject(
urn : Urn
) : SqlSmoObject
Paramètres
- urn
Type : Microsoft.SqlServer.Management.Sdk.Sfc.Urn
The specified urn.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo.SqlSmoObject
A SqlSmoObject that is specified by a URN.