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 | |
---|---|---|
RegSvrSmoObject() | Initializes a new instance of the RegSvrSmoObject object. | |
RegSvrSmoObject(RegSvrCollectionBase, String) | Initializes a new instance of the RegSvrSmoObject object based on the specified parent column and name. |
Top
Properties
Name | Description | |
---|---|---|
Name | Gets or sets the name of the object. | |
Properties | Gets the properties associated with the object. | |
State | Gets the state of the referenced object. (Inherited from SmoObjectBase.) | |
Urn | Gets the Urn object that represents the object. | |
UrnSkeleton | Gets the Urn object that represents the object. | |
UserData | Gets or sets user-defined data associated with the referenced object. (Inherited from SmoObjectBase.) |
Top
Methods
Name | Description | |
---|---|---|
CheckObjectState | Checks the state of the object. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ImplInitialize | Initializes the object. | |
Initialize | Initializes the object. | |
IsObjectInitialized | Gets a Boolean value that specifies whether the object was initialized. | |
MemberwiseClone | (Inherited from Object.) | |
Refresh | Refreshes the properties of the object. | |
SetParentImpl | Sets a parent. | |
ToString | (Inherited from Object.) | |
Trace | Sets a trace text. | |
UpdateObjectState | Gets the updated object state. | |
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