Server.GetSmoObject Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Returns the object that is specified by a Universal Resource Name (URN) address.

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


Public Function GetSmoObject ( _
    urn As Urn _
) As SqlSmoObject
public SqlSmoObject GetSmoObject (
    Urn urn
SqlSmoObject^ GetSmoObject (
    Urn^ urn
public SqlSmoObject GetSmoObject (
    Urn urn
public function GetSmoObject (
    urn : Urn
) : SqlSmoObject


  • urn
    A Urn object value that specifies the object requested.

Return Value

A SqlSmoObject object value that specifies the object requested.


This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

See Also


Server Class
Server Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

How to: Use an SMO Method with a Parameter in Visual Basic .NET
Calling Methods
Managing Servers