Compartir a través de


Clase RegSvrSmoObject

Nota: esta API ya está obsoleta.

The RegSvrSmoObject class is a class used in the construction Microsoft SQL Server registered server objects.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.RegisteredServers
Ensamblado:  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Sintaxis

'Declaración
<ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")> _
Public MustInherit Class RegSvrSmoObject _
    Inherits SmoObjectBase
'Uso
Dim instance As RegSvrSmoObject
[ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")]
public abstract class RegSvrSmoObject : SmoObjectBase
[ObsoleteAttribute(L"Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")]
public ref class RegSvrSmoObject abstract : public SmoObjectBase
[<AbstractClassAttribute>]
[<ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")>]
type RegSvrSmoObject =  
    class
        inherit SmoObjectBase
    end
public abstract class RegSvrSmoObject extends SmoObjectBase

El tipo RegSvrSmoObject expone los siguientes miembros.

Constructores

  Nombre Descripción
Método protegido RegSvrSmoObject() () () () Initializes a new instance of the RegSvrSmoObject object.
Método protegido RegSvrSmoObject(RegSvrCollectionBase, String) Initializes a new instance of the RegSvrSmoObject object based on the specified parent column and name.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Name Gets or sets the name of the object.
Propiedad pública Properties Gets the properties associated with the object.
Propiedad pública State Gets the state of the referenced object. (Se hereda de SmoObjectBase.)
Propiedad pública Urn Gets the Urn object that represents the object.
Propiedad protegida UrnSkeleton Gets the Urn object that represents the object.
Propiedad pública UserData Gets or sets user-defined data associated with the referenced object. (Se hereda de SmoObjectBase.)

Arriba

Métodos

  Nombre Descripción
Método protegido CheckObjectState Checks the state of the object.
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido ImplInitialize Initializes the object.
Método público Initialize Initializes the object.
Método protegido IsObjectInitialized Gets a Boolean value that specifies whether the object was initialized.
Método protegido MemberwiseClone (Se hereda de Object.)
Método público Refresh Refreshes the properties of the object.
Método protegido SetParentImpl Sets a parent.
Método público ToString (Se hereda de Object.)
Método protegidoMiembro estático Trace Sets a trace text.
Método protegido UpdateObjectState Gets the updated object state.
Método público Validate Validates the state of an object. (Se hereda de SmoObjectBase.)

Arriba

Comentarios

To get or set RegSvrSmoObject object properties, users must be a member of the db_owner fixed database role or the sysadmin fixed server role.

To initialize or refresh the object, users must be a member of the db_owner fixed database role or the sysadmin fixed server role.

Thread Safety

Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.