共用方式為


RegSvrSmoObject.Initialize 方法

Initializes the object.

命名空間:  Microsoft.SqlServer.Management.Smo.RegisteredServers
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Public Function Initialize As Boolean
'用途
Dim instance As RegSvrSmoObject 
Dim returnValue As Boolean 

returnValue = instance.Initialize()
public bool Initialize()
public:
bool Initialize()
member Initialize : unit -> bool
public function Initialize() : boolean

傳回值

型別:System.Boolean
A Boolean value that specifies whether the object was initialized successfully.If True, the object initialized successfully.If False, the object failed to initialize.

請參閱

參考

RegSvrSmoObject 類別

Microsoft.SqlServer.Management.Smo.RegisteredServers 命名空間