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 為共用) 成員具備多執行緒作業安全。並非所有的執行個體成員都是安全執行緒。
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
請參閱
參考
Microsoft.SqlServer.Management.Smo.RegisteredServers 命名空間