Share via


Load 方法

Loads the properties of an existing object from the server.

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)

语法

声明
Public Sub Load
用法
Dim instance As ReplicationObject

instance.Load()
public void Load()
public:
void Load()
member Load : unit -> unit 
public function Load()

注释

If properties have already been loaded, they will not be reloaded. You should call the object's Refresh method to refresh the properties if they are not current.

If the object does not exist on the server, or key information about this object is missing, the method raises an exception. The LoadProperties method is equivalent to the Load method, but an exception is not thrown if the object does not exist on the server.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.