Partilhar via


Método ReplicationObject.Load

Loads the properties of an existing object from the server.

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

Sintaxe

'Declaração
Public Sub Load
'Uso
Dim instance As ReplicationObject

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

Comentários

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.

Consulte também

Referência

ReplicationObject Classe

Namespace Microsoft.SqlServer.Replication