Método Server.GetSmoObject
Gets a SqlSmoObject that is specified by a URN.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Function GetSmoObject ( _
urn As Urn _
) As SqlSmoObject
'Uso
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
Parâmetros
- urn
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
The specified urn.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo.SqlSmoObject
A SqlSmoObject that is specified by a URN.