EnterpriseManagementObjectProjection.Replace Method (IComposableProjection)
Replaces the current projection with a new one.
Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
'Usage
Dim instance As EnterpriseManagementObjectProjection
Dim objectToReplace As IComposableProjection
instance.Replace(objectToReplace)
Syntax
'Declaration
Public Sub Replace ( _
objectToReplace As IComposableProjection _
)
public void Replace (
IComposableProjection objectToReplace
)
public:
virtual void Replace (
IComposableProjection^ objectToReplace
) sealed
public final void Replace (
IComposableProjection objectToReplace
)
public final function Replace (
objectToReplace : IComposableProjection
)
Parameters
- objectToReplace
The new projection.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
EnterpriseManagementObjectProjection Class
EnterpriseManagementObjectProjection Members
Microsoft.EnterpriseManagement.Common Namespace