Server.GetSmoObject 方法

Gets a SqlSmoObject that is specified by a URN.

命名空间:  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

参数

返回值

类型:Microsoft.SqlServer.Management.Smo.SqlSmoObject
A SqlSmoObject that is specified by a URN.

请参阅

参考

Server 类

Microsoft.SqlServer.Management.Smo 命名空间