Share via


RegSvrSmoObject Class

Note: This API is now obsolete.

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

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.SmoObjectBase
    Microsoft.SqlServer.Management.Smo.RegisteredServers.RegSvrSmoObject
      Microsoft.SqlServer.Management.Smo.RegisteredServers.RegisteredServer
      Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroupBase

Namespace:  Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Syntax

'Declaration
<ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")> _
Public MustInherit Class RegSvrSmoObject _
    Inherits SmoObjectBase
'Usage
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

The RegSvrSmoObject type exposes the following members.

Constructors

  Name Description
Protected method RegSvrSmoObject() Initializes a new instance of the RegSvrSmoObject object.
Protected method RegSvrSmoObject(RegSvrCollectionBase, String) Initializes a new instance of the RegSvrSmoObject object based on the specified parent column and name.

Top

Properties

  Name Description
Public property Name Gets or sets the name of the object.
Public property Properties Gets the properties associated with the object.
Public property State Gets the state of the referenced object. (Inherited from SmoObjectBase.)
Public property Urn Gets the Urn object that represents the object.
Protected property UrnSkeleton Gets the Urn object that represents the object.
Public property UserData Gets or sets user-defined data associated with the referenced object. (Inherited from SmoObjectBase.)

Top

Methods

  Name Description
Protected method CheckObjectState Checks the state of the object.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method ImplInitialize Initializes the object.
Public method Initialize Initializes the object.
Protected method IsObjectInitialized Gets a Boolean value that specifies whether the object was initialized.
Protected method MemberwiseClone (Inherited from Object.)
Public method Refresh Refreshes the properties of the object.
Protected method SetParentImpl Sets a parent.
Public method ToString (Inherited from Object.)
Protected methodStatic member Trace Sets a trace text.
Protected method UpdateObjectState Gets the updated object state.
Public method Validate Validates the state of an object. (Inherited from SmoObjectBase.)

Top

Remarks

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

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Smo.RegisteredServers Namespace

Other Resources

NIB Manage Registered Servers

sp_ActiveDirectory_Obj (Transact-SQL)