RegSvrSmoObject Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Instead use namespace Microsoft.SqlServer.Management.RegisteredServers
The RegSvrSmoObject class is a class used in the construction Microsoft SQL Server registered server objects.
public ref class RegSvrSmoObject abstract : Microsoft::SqlServer::Management::Smo::SmoObjectBase
[System.Obsolete("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")]
public abstract class RegSvrSmoObject : Microsoft.SqlServer.Management.Smo.SmoObjectBase
[<System.Obsolete("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")>]
type RegSvrSmoObject = class
inherit SmoObjectBase
Public MustInherit Class RegSvrSmoObject
Inherits SmoObjectBase
- Inheritance
- Derived
- Attributes
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.
Constructors
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. |
Properties
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) |
Methods
CheckObjectState() |
Checks the state of the object. |
ImplInitialize(String[], OrderBy[]) |
Initializes the object. |
Initialize() |
Initializes the object. |
IsObjectInitialized() |
Gets a Boolean value that specifies whether the object was initialized. |
Refresh() |
Refreshes the properties of the object. |
SetParentImpl(RegSvrSmoObject) |
Sets a parent. |
Trace(String) |
Sets a trace text. |
UpdateObjectState() |
Gets the updated object state. |
Validate(String, Object[]) |
Validates the state of an object. (Inherited from SmoObjectBase) |