Partager via


GetSmoObject méthode

Gets a SqlSmoObject that is specified by a URN.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans 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 : Urn
    Urn