Classe RegSvrSmoObject
Remarque : cette API est désormais obsolète.
The RegSvrSmoObject class is a class used in the construction Microsoft SQL Server registered server objects.
Hiérarchie d'héritage
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
Espace de noms : Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly : Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Syntaxe
'Déclaration
<ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")> _
Public MustInherit Class RegSvrSmoObject _
Inherits SmoObjectBase
'Utilisation
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
Le type RegSvrSmoObject expose les membres suivants.
Constructeurs
Nom | 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. |
Haut de la page
Propriétés
Nom | 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. (hérité de 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. (hérité de SmoObjectBase.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
CheckObjectState | Checks the state of the object. | |
Equals | (hérité de Object.) | |
Finalize | (hérité de Object.) | |
GetHashCode | (hérité de Object.) | |
GetType | (hérité de Object.) | |
ImplInitialize | Initializes the object. | |
Initialize | Initializes the object. | |
IsObjectInitialized | Gets a Boolean value that specifies whether the object was initialized. | |
MemberwiseClone | (hérité de Object.) | |
Refresh | Refreshes the properties of the object. | |
SetParentImpl | Sets a parent. | |
ToString | (hérité de Object.) | |
Trace | Sets a trace text. | |
UpdateObjectState | Gets the updated object state. | |
Validate | Validates the state of an object. (hérité de SmoObjectBase.) |
Haut de la page
Notes
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
Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Voir aussi