Класс RegSvrSmoObject
Примечание. Этот API-интерфейс устарел.
The RegSvrSmoObject class is a class used in the construction Microsoft SQL Server registered server objects.
Иерархия наследования
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
Пространство имен: Microsoft.SqlServer.Management.Smo.RegisteredServers
Сборка: Microsoft.SqlServer.SmoExtended (в Microsoft.SqlServer.SmoExtended.dll)
Синтаксис
'Декларация
<ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")> _
Public MustInherit Class RegSvrSmoObject _
Inherits SmoObjectBase
'Применение
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
Тип RegSvrSmoObject обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
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. |
В начало
Свойства
Имя | Описание | |
---|---|---|
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. (Производный от 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. (Производный от SmoObjectBase.) |
В начало
Методы
Имя | Описание | |
---|---|---|
CheckObjectState | Checks the state of the object. | |
Equals | (Производный от Object.) | |
Finalize | (Производный от Object.) | |
GetHashCode | (Производный от Object.) | |
GetType | (Производный от Object.) | |
ImplInitialize | Initializes the object. | |
Initialize | Initializes the object. | |
IsObjectInitialized | Gets a Boolean value that specifies whether the object was initialized. | |
MemberwiseClone | (Производный от Object.) | |
Refresh | Refreshes the properties of the object. | |
SetParentImpl | Sets a parent. | |
ToString | (Производный от Object.) | |
Trace | Sets a trace text. | |
UpdateObjectState | Gets the updated object state. | |
Validate | Validates the state of an object. (Производный от SmoObjectBase.) |
В начало
Замечания
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
Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Потокобезопасная работа с членами экземпляров типа не гарантируется.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo.RegisteredServers