Udostępnij za pośrednictwem


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

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

Parameters

Return Value

SqlSmoObject

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.

Platforms

Development Platforms

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

Target Platforms

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