GetSmoObject 方法

获取由 URN 指定的 SqlSmoObject。

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Function GetSmoObject ( _
    urn As Urn _
) As SqlSmoObject
用法
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