GetSmoObject Método
Gets a RegSvrSmoObject that is specified by a URN.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.RegisteredServers
Ensamblado: Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Sintaxis
'Declaración
Public Function GetSmoObject ( _
urn As Urn _
) As RegSvrSmoObject
'Uso
Dim instance As ServerGroupBase
Dim urn As Urn
Dim returnValue As RegSvrSmoObject
returnValue = instance.GetSmoObject(urn)
public RegSvrSmoObject GetSmoObject(
Urn urn
)
public:
RegSvrSmoObject^ GetSmoObject(
Urn^ urn
)
member GetSmoObject :
urn:Urn -> RegSvrSmoObject
public function GetSmoObject(
urn : Urn
) : RegSvrSmoObject
Parámetros
- urn
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Urn
A Microsoft.SqlServer.Management.Sdk.Sfc.Urn that identifies the object to get.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Smo.RegisteredServers. . :: . .RegSvrSmoObject
The RegSvrSmoObject that is specified by a URN.
Vea también