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
參數
- urn
型別:Microsoft.SqlServer.Management.Sdk.Sfc.Urn
The specified urn.
傳回值
型別:Microsoft.SqlServer.Management.Smo.SqlSmoObject
A SqlSmoObject that is specified by a URN.