Delen via


Server.GetSmoObject Method

Gets a SqlSmoObject that is specified by a URN.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function GetSmoObject ( _
    urn As Urn _
) As SqlSmoObject
'Usage
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