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
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。不保证所有实例成员都是线程安全的。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。