Partager via


Load méthode

Loads the properties of an existing object from the server.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (dans Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public Sub Load
'Utilisation
Dim instance As ReplicationObject

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

Notes

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.