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
public void Load ()
public:
void Load ()
public void Load ()
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.

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ReplicationObject Class
ReplicationObject Members
Microsoft.SqlServer.Replication Namespace