ReplicationObject.Load Method

Loads the properties of an existing object from the server.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Sub Load
'Usage
Dim instance As ReplicationObject

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

Remarks

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.

See Also

Reference

ReplicationObject Class

Microsoft.SqlServer.Replication Namespace