Udostępnij za pośrednictwem


RegSvrSmoObject Class

NOTE: This class is now obsolete.

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

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

Syntax

'Deklaracja
<ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")> _
Public MustInherit Class RegSvrSmoObject
    Inherits SmoObjectBase
[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
/** @attribute ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers") */ 
public abstract class RegSvrSmoObject extends SmoObjectBase
ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers") 
public abstract class RegSvrSmoObject extends SmoObjectBase

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.

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

Thread Safety

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.