All Frameworks  Class Hierarchy  This Framework  Indexes   

VPMInterfaces Interface VPMIAdmin

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface VPMIAdmin

This class supplies methods to manage administration data role: This class enables to create/delete/modify administration data


Method Index


o Abort()
Cancel of all the modifications which have been done since the last Save.
o AddBusinessDomain(VPMIBusinessDomain*)
Aggregate a businessdomain.
o AddDataDomain(VPMIDataDomain*)
Aggregate a datadomain.
o AddDomain(VPMIDomain*)
Aggregate a domain.
o AddExternSite(VPMIExternSite*)
Aggregate an externsite.
o AddHost(VPMIHost*)
Aggregate a host.
o AddProject(VPMIProject*)
Aggregate a project.
o AddReplPackageDefinition(VPMIReplPackageDefinition*)
Aggregate a replication package definition.
o AddReplSubscribingTarget(VPMIReplSubscribingTarget*)
Aggregate a replication target.
o AddReplSubscription(VPMIReplSubscription*)
Aggregate a Subscription.
o AddServer(VPMIServer*)
Aggregate a server.
o BeginModifications()
Enable modifications.
o CreateBusinessDomain(CATDbBinary&,VPMIBusinessDomain*&)
Create the business domain identified by iOid.
o CreateDataRDB(CATDbBinary&,VPMIDataRDB*&)
Create the dataRDB identified by iOid.
o CreateDataServer(CATDbBinary&,VPMIDataServer*&)
Create the dataserver identified by iOid.
o CreateDomain(CATDbBinary&,VPMIDomain*&)
Create the domain identified by iOid.
o CreateExternSite(CATDbBinary&,CATUnicodeString&,VPMIExternSite*&)
Create a new known site.
o CreateExternSite(CATDbBinary&,VPMIExternSite*&)
Create the site identified by iOid.
o CreateHost(CATDbBinary&,VPMIHost*&)
Create the host identified by iOid.
o CreateLocalSite(CATDbBinary&,VPMILocalSite*&)
Create the local installation definition.
o CreateObject(CATDbBinary&,VPMIAdmin::ADMINTYPE,IUnknown*&)
Method for parsing purpose: create object.
o CreateProject(CATDbBinary&,VPMIProject*&)
Create the project identified by iOid.
o CreateReplApplyStatus(CATDbBinary&,VPMIReplApplyStatus*&)
Create applystatus identified by iOid.
o CreateReplCaptureStatus(CATDbBinary&,VPMIReplCaptureStatus*&)
Create capturestatus identified by iOid.
o CreateReplMedia(CATDbBinary&,VPMIReplMedia*&)
Create a new definition to store the media for replication.
o CreateReplPackageDefinition(CATDbBinary&,VPMIReplPackageDefinition*&)
Create the replication package identified by iOid.
o CreateReplPackageDefinition(CATDbBinary&,CATUnicodeString&,VPMIReplPackageDefinition*&)
Create a new replication package.
o CreateReplSubscribingTarget(CATDbBinary&,VPMIReplSubscribingTarget*&)
Create the replication target identified by iOid.
o CreateReplSubscribingTarget(CATDbBinary&,CATUnicodeString&,VPMIReplPackageDefinition*,VPMIExternSite*,VPMIReplSubscribingTarget*&)
Create a new definition to replicate data for a site.
o CreateReplSubscription(CATDbBinary&,VPMIReplSubscription*&)
Create the replication Subscription identified by iOid.
o CreateReplSubscription(CATDbBinary&,CATUnicodeString&,VPMIReplPackageDefinition*,VPMIExternSite*,VPMIReplSubscription*&)
Create a replication subscription.
o CreateServer(CATDbBinary&,VPMIServer*&)
Create the server identified by iOid.
o End()
Release of the allocated resources.
o GenerateSubscription(VPMIReplSubscribingTarget*,CATUnicodeString&)
Generate a subscription string for a given target.
o GetAllExternSite(CATLISTP(IUnknown)&)
Get the list of all external site objects.
o GetAllReplPackageDefinition(CATLISTP(IUnknown)&)
Get the list of all package definition objects.
o GetAllReplSubscribingTarget(CATLISTP(IUnknown)&)
Get all subscribing targets known by the site.
o GetAllReplSubscription(CATLISTP(IUnknown)&)
Get the list of all Subscription objects.
o GetAppServer(CATUnicodeString&,VPMIAppServer**)
Get an application server object named iName.
o GetBusinessDomain(CATDbBinary&,VPMIBusinessDomain*&)
Get the business domain identified by iOid.
o GetBusinessDomain(CATUnicodeString&,VPMIBusinessDomain**)
Get a business domain object named iName.
o GetDataDomain(CATDbBinary*,VPMIDataDomain**)
Get a DataDomain object from its OID.
o GetDataDomain(CATDbBinary&,VPMIDataDomain*&)
Get the dataRDB identified by iOid.
o GetDataDomain(CATUnicodeString&,VPMIDataDomain**)
Get a data domain object named iName.
o GetDataServer(CATDbBinary&,VPMIDataServer*&)
Get the dataserver identified by iOid.
o GetDataServer(CATUnicodeString&,VPMIDataServer**)
Get a data server object named iName.
o GetDomain(CATDbBinary&,VPMIDomain*&)
Get the domain identified by iOid.
o GetDomain(CATUnicodeString&,VPMIDomain**)
Get a domain object named iDomainName.
o GetExternSite(CATUnicodeString&,VPMIExternSite*&)
Get the extern site named iName.
o GetExternSite(CATDbBinary&,VPMIExternSite*&)
Get the site identified by iOid.
o GetHost(CATDbBinary&,VPMIHost*&)
Get the host identified by iOid.
o GetHost(CATUnicodeString&,VPMIHost**)
get a host object from its name.
o GetListOfAppServers(CATLISTP(IUnknown)*)
Get the list of all application server objects.
o GetListOfBusinessDomains(CATLISTP(IUnknown)*)
Get the list of all business domain objects.
o GetListOfDataDomains(CATLISTP(IUnknown)*)
Get the list of all data domain objects.
o GetListOfDataServers(CATLISTP(IUnknown)*)
Get the list of all data server objects.
o GetListOfDomains(CATLISTP(IUnknown)*)
Get the list of all domain objects.
o GetListOfHosts(CATLISTP(IUnknown)*)
Get the list of all host objects.
o GetListOfProjects(CATUnicodeString&,CATLISTP(IUnknown)*)
Get the list of all projects.
o GetListOfProjects(CATLISTP(IUnknown)*)
Get the list of all project objects.
o GetListOfRelatedBusinessDomains(CATUnicodeString&,CATLISTP(IUnknown)*)
Get the list of all business domains objects related to a given schema.
o GetListOfVaultServers(CATLISTP(IUnknown)*)
Get the list of all vault server objects.
o GetLocalSite(VPMILocalSite*&)
Get the local site definition.
o GetMasterBusinessDomain(CATUnicodeString&,VPMIBusinessDomain**)
Get the master business domain object for a given schema.
o GetObject(CATDbBinary&,VPMIAdmin::ADMINTYPE,IUnknown*&)
Method for parsing purpose: get object.
o GetProject(CATDbBinary&,VPMIProject*&)
Get the project identified by iOid.
o GetProject(CATUnicodeString&,VPMIProject**)
Get a project object named iName.
o GetReplApplyStatus(CATDbBinary&,VPMIReplApplyStatus*&)
Get the apply status identified by iOid.
o GetReplCaptureStatus(CATDbBinary&,VPMIReplCaptureStatus*&)
Get the capture status identified by iOid.
o GetReplMedia(CATDbBinary&,VPMIReplMedia*&)
Get the media identified by iOid.
o GetReplPackageDefinition(CATDbBinary&,VPMIReplPackageDefinition*&)
Get the package definition identified by iOid.
o GetReplSubscribingTarget(CATDbBinary&,VPMIReplSubscribingTarget*&)
Get the subscribing target named iName.
o GetReplSubscribingTarget(CATUnicodeString&,VPMIReplSubscribingTarget*&)
Get the subscribing target named iName.
o GetReplSubscription(CATDbBinary&,VPMIReplSubscription*&)
Get the subscription from its iOid.
o GetServer(CATDbBinary&,VPMIServer*)
Get the server identified by iOid.
o GetVaultServer(CATUnicodeString&,VPMIVaultServer**)
Get a vault server object named iName.
o Init(CATUnicodeString&,CATUnicodeString&,int)
Initialization.
o RemoveAllInstances()
mark all instances aggregated by the VPMIAdmin to be deleted.
o Save()
Save of all the modifications which have been done during the current logical unit of work.
o SetLocalSite(VPMILocalSite*)
set the local site of the current installation.
o Subscribe(CATUnicodeString&,VPMIReplSubscription*&)
Update the Admin with a new subscription.

Enumerated Type Index


o ADMINTYPE
Enum of admin types.

Methods


o Abort
public virtual Abort()
Cancel of all the modifications which have been done since the last Save.
Returns:
an HRESULT value.
Legal values: S_OK: E_FAIL:
o AddBusinessDomain
public virtual AddBusinessDomain( const pBusinessDomain)
Aggregate a businessdomain.
Parameters:
iBusinessDomain
the BusinessDomain to aggregate
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE: E_FAIL:
o AddDataDomain
public virtual AddDataDomain( const iDataDomain)
Aggregate a datadomain.
Parameters:
iDataDomain
the DataDomain to aggregate
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE: E_FAIL:
o AddDomain
public virtual AddDomain( const pDomain)
Aggregate a domain.
Parameters:
iBusinessDomain
the BusinessDomain to aggregate
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE: E_FAIL:
o AddExternSite
public virtual AddExternSite( const iExternSite)
Aggregate an externsite.
Parameters:
iExternSite
the Site to aggregate
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE: E_FAIL:
o AddHost
public virtual AddHost( const pHost)
Aggregate a host.
Parameters:
iBusinessDomain
the BusinessDomain to aggregate
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE: E_FAIL:
o AddProject
public virtual AddProject( const iProject)
Aggregate a project.
Parameters:
iProject
the Project to aggregate
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE: E_FAIL:
o AddReplPackageDefinition
public virtual AddReplPackageDefinition( const iPackageDefinition)
Aggregate a replication package definition.
Parameters:
iPackage
the replication package to aggregate
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE: E_FAIL:
o AddReplSubscribingTarget
public virtual AddReplSubscribingTarget( const iTarget)
Aggregate a replication target.
Parameters:
iTarget
the replication target to aggregate
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE: E_FAIL:
o AddReplSubscription
public virtual AddReplSubscription( const iSubscription)
Aggregate a Subscription.
Parameters:
iSubscription
the replication Subscription to aggregate
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE: E_FAIL:
o AddServer
public virtual AddServer( const iServer)
Aggregate a server.
Parameters:
iServer
the server to aggregate
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE: E_FAIL:
o BeginModifications
public virtual BeginModifications()
Enable modifications. =>Do not use it during the VPMSession.
Returns:
an HRESULT value.
Legal values: S_OK: E_FAIL:
o CreateBusinessDomain
public virtual CreateBusinessDomain( const iOid,
oBusinessDomain)
Create the business domain identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oBusinessDomain
the business domain to create
Returns:
an HRESULT value.
Legal values: S_OK: business domain created S_FALSE:business domain not created E_FAIL:system error
o CreateDataRDB
public virtual CreateDataRDB( const iOid,
oRDB)
Create the dataRDB identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oDataServer
the dataserver to create
Returns:
an HRESULT value.
Legal values: S_OK: domain created S_FALSE:domain not created E_FAIL:system error
o CreateDataServer
public virtual CreateDataServer( const iOid,
oDataServer)
Create the dataserver identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oDataServer
the dataserver to create
Returns:
an HRESULT value.
Legal values: S_OK: domain created S_FALSE:domain not created E_FAIL:system error
o CreateDomain
public virtual CreateDomain( const iOid,
oDomain)
Create the domain identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oDomain
the domain to create
Returns:
an HRESULT value.
Legal values: S_OK: domain created S_FALSE:domain not created E_FAIL:system error
o CreateExternSite
public virtual CreateExternSite( const iOid,
const iName,
oSite)
Create a new known site.
Parameters:
iOid

Legal values: a 16-bytes identifier.
iName
this string is not an identifier.
but is required to be unique for all site definition.
oSite
a new site
Returns:
an HRESULT value.
Legal values: S_OK:site created S_FALSE:the identifier iOid already exists. E_FAIL:
o CreateExternSite
public virtual CreateExternSite( const iOid,
oDomain)
Create the site identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oDomain
the domain to create
Returns:
an HRESULT value.
Legal values: S_OK: site created S_FALSE:site not created E_FAIL:system error
o CreateHost
public virtual CreateHost( const iOid,
oHost)
Create the host identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oHost
the host to create
Returns:
an HRESULT value.
Legal values: S_OK: domain created S_FALSE:domain not created E_FAIL:system error
o CreateLocalSite
public virtual CreateLocalSite( const iBin,
oSite)
Create the local installation definition.
Parameters:
iBin
the identifier of the localSite. but is required to be unique for all site definition.
oSite
a new site
Returns:
an HRESULT value.
Legal values: S_OK:site created S_FALSE:the site already exists E_FAIL:
o CreateObject
public virtual CreateObject( const iOid,
const iType,
oObject)
Method for parsing purpose: create object.
o CreateProject
public virtual CreateProject( const iOid,
oProject)
Create the project identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oProject
the project to create
Returns:
an HRESULT value.
Legal values: S_OK: project not created S_FALSE:project not created E_FAIL:system error
o CreateReplApplyStatus
public virtual CreateReplApplyStatus( const iOid,
oStatus)
Create applystatus identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oProject
the project to create
Returns:
an HRESULT value.
Legal values: S_OK: project not created S_FALSE:project not created E_FAIL:system error
o CreateReplCaptureStatus
public virtual CreateReplCaptureStatus( const iOid,
oStatus)
Create capturestatus identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oProject
the project to create
Returns:
an HRESULT value.
Legal values: S_OK: status not created S_FALSE:status not created E_FAIL:system error
o CreateReplMedia
public virtual CreateReplMedia( const iOid,
oMedia)
Create a new definition to store the media for replication.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oMedia
the media object created.
Returns:
an HRESULT value.
Legal values: S_OK:media created S_FALSE:the identifier iOid already exists. E_FAIL:
o CreateReplPackageDefinition
public virtual CreateReplPackageDefinition( const iOid,
oReplPackage)
Create the replication package identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oReplPackage
the replication package to create
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE: E_FAIL:system error
o CreateReplPackageDefinition
public virtual CreateReplPackageDefinition( const iOid,
const iName,
oPackage)
Create a new replication package.
Parameters:
iOid

Legal values: a 16-bytes identifier.
iName
this string is not an identifier.
but is required to be unique for all package definition
oPackage
a new package
Returns:
an HRESULT value.
Legal values: S_OK:package created S_FALSE:the identifier iOid already exists. E_FAIL:
o CreateReplSubscribingTarget
public virtual CreateReplSubscribingTarget( const iOid,
oReplTarget)
Create the replication target identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oReplTarget
the replication target to create
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE: E_FAIL:system error
o CreateReplSubscribingTarget
public virtual CreateReplSubscribingTarget( const iOid,
const iName,
const iPackage,
const iSite,
oTarget)
Create a new definition to replicate data for a site.
Parameters:
iOid

Legal values: a 16-bytes identifier.
iName
this string is not an identifier.
but is required to be unique for all target definition.
iPackage
the package to send.
iSite
the site where data will be send.
oTarget
the subscribing target created.
Returns:
an HRESULT value.
Legal values: S_OK:target created S_FALSE:the identifier iOid already exists. E_FAIL:
o CreateReplSubscription
public virtual CreateReplSubscription( const iOid,
oReplSubscription)
Create the replication Subscription identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oReplSubscription
the replication Subscription to create
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE: E_FAIL:system error
o CreateReplSubscription
public virtual CreateReplSubscription( const iOid,
const iName,
const iPackage,
const iSite,
oSubscription)
Create a replication subscription.
Parameters:
iOid

Legal values: a 16-bytes identifier.
iName
this string is not an identifier.
but is required to be unique for all subscription.
iPackage
the package defining the data received
iSite
the site from which the data are coming.
oSubscription
the replication subscription created.
Returns:
an HRESULT value.
Legal values: S_OK:subscription created S_FALSE:the identifier iOid already exists. E_FAIL:
o CreateServer
public virtual CreateServer( const iOid,
oServer)
Create the server identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oServer
the server to create
Returns:
an HRESULT value.
Legal values: S_OK: server not created S_FALSE: server not created E_FAIL:system error
o End
public virtual End()
Release of the allocated resources.
Returns:
an HRESULT value.
Legal values: S_OK: E_FAIL:
o GenerateSubscription
public virtual GenerateSubscription( const iTarget,
oBuf)
Generate a subscription string for a given target.
Parameters:
iTarget
the target where the string will be send.
oBuf
the string containing the subscription
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE:subscription refused E_FAIL:
o GetAllExternSite
public virtual GetAllExternSite( lExternSite)
Get the list of all external site objects.
o GetAllReplPackageDefinition
public virtual GetAllReplPackageDefinition( olReplPackageDefinition)
Get the list of all package definition objects.
o GetAllReplSubscribingTarget
public virtual GetAllReplSubscribingTarget( oSubscribingTargets)
Get all subscribing targets known by the site.
Parameters:
oSubscribingTargets
the list required
Returns:
an HRESULT value.
Legal values: S_OK:site found S_FALSE:site not found E_FAIL:
o GetAllReplSubscription
public virtual GetAllReplSubscription( oSubscription)
Get the list of all Subscription objects.
o GetAppServer
public virtual GetAppServer( const iName,
oServer)
Get an application server object named iName.
o GetBusinessDomain
public virtual GetBusinessDomain( const iOid,
oBusinessDomain)
Get the business domain identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oBusinessDomain
the business domain required
Returns:
an HRESULT value.
Legal values: S_OK: business domain found S_FALSE:business domain not found E_FAIL:system error
o GetBusinessDomain
public virtual GetBusinessDomain( const iName,
oBusinessDomain)
Get a business domain object named iName.
o GetDataDomain
public virtual GetDataDomain( iOID,
oDataDomain)
Get a DataDomain object from its OID.
o GetDataDomain
public virtual GetDataDomain( const iOid,
oDataRDB)
Get the dataRDB identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oDataServer
the dataserver required
Returns:
an HRESULT value.
Legal values: S_OK: domain found S_FALSE:domain not found E_FAIL:system error
o GetDataDomain
public virtual GetDataDomain( const iName,
oDataRDB)
Get a data domain object named iName.
o GetDataServer
public virtual GetDataServer( const iOid,
oDataServer)
Get the dataserver identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oDataServer
the dataserver required
Returns:
an HRESULT value.
Legal values: S_OK: domain found S_FALSE:domain not found E_FAIL:system error
o GetDataServer
public virtual GetDataServer( const iName,
oServer)
Get a data server object named iName.
o GetDomain
public virtual GetDomain( const iOid,
oDomain)
Get the domain identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oDomain
the domain required
Returns:
an HRESULT value.
Legal values: S_OK: domain found S_FALSE:domain not found E_FAIL:system error
o GetDomain
public virtual GetDomain( const iDomainName,
oDomain)
Get a domain object named iDomainName.
o GetExternSite
public virtual GetExternSite( const iName,
oSite)
Get the extern site named iName.
Parameters:
iName
the name of the site looked for.
oSite
the looked for site.
Returns:
an HRESULT value.
Legal values: S_OK:site found S_FALSE:site not found E_FAIL:
o GetExternSite
public virtual GetExternSite( const iOid,
oDomain)
Get the site identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oDomain
the domain required
Returns:
an HRESULT value.
Legal values: S_OK: site found S_FALSE:site not found E_FAIL:system error
o GetHost
public virtual GetHost( const iOid,
oHost)
Get the host identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oHost
the host required
Returns:
an HRESULT value.
Legal values: S_OK: domain found S_FALSE:domain not found E_FAIL:system error
o GetHost
public virtual GetHost( const iName,
oHost)
get a host object from its name.
o GetListOfAppServers
public virtual GetListOfAppServers( oListOfAppServers)
Get the list of all application server objects.
o GetListOfBusinessDomains
public virtual GetListOfBusinessDomains( oListOfBusinessDomains)
Get the list of all business domain objects.
o GetListOfDataDomains
public virtual GetListOfDataDomains( oListOfDataDomains)
Get the list of all data domain objects.
o GetListOfDataServers
public virtual GetListOfDataServers( oListOfDataServers)
Get the list of all data server objects.
o GetListOfDomains
public virtual GetListOfDomains( oListOfDomains)
Get the list of all domain objects.
Returns:
an HRESULT value.
Legal values: S_OK: E_FAIL:
o GetListOfHosts
public virtual GetListOfHosts( oListOfHosts)
Get the list of all host objects.
o GetListOfProjects
public virtual GetListOfProjects( const iUserName,
oListOfProjects)
Get the list of all projects. N.B.: input user name parameter is not used.
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE: E_FAIL:
o GetListOfProjects
public virtual GetListOfProjects( oListOfProjects)
Get the list of all project objects.
Returns:
an HRESULT value.
Legal values: S_OK: E_FAIL:
o GetListOfRelatedBusinessDomains
public virtual GetListOfRelatedBusinessDomains( const iSchemaName,
oList)
Get the list of all business domains objects related to a given schema.
o GetListOfVaultServers
public virtual GetListOfVaultServers( oListOfVaultServers)
Get the list of all vault server objects.
o GetLocalSite
public virtual GetLocalSite( oSite)
Get the local site definition.
Parameters:
oSite
the looked for site.
Returns:
an HRESULT value.
Legal values: S_OK:site found S_FALSE:site not found E_FAIL:
o GetMasterBusinessDomain
public virtual GetMasterBusinessDomain( const iSchemaName,
oBusinessDomain)
Get the master business domain object for a given schema.
o GetObject
public virtual GetObject( const iOid,
const iType,
oObject)
Method for parsing purpose: get object.
o GetProject
public virtual GetProject( const iOid,
oProject)
Get the project identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oProject
the project required
Returns:
an HRESULT value.
Legal values: S_OK: project not found S_FALSE:project not found E_FAIL:system error
o GetProject
public virtual GetProject( const iName,
oProject)
Get a project object named iName.
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE: E_FAIL:
o GetReplApplyStatus
public virtual GetReplApplyStatus( const iOid,
oStatus)
Get the apply status identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oStatus
the status looked for.
Returns:
an HRESULT value.
Legal values: S_OK:status found S_FALSE:status not found E_FAIL:
o GetReplCaptureStatus
public virtual GetReplCaptureStatus( const iOid,
oStatus)
Get the capture status identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oStatus
the status looked for.
Returns:
an HRESULT value.
Legal values: S_OK:status found S_FALSE:status not found E_FAIL:
o GetReplMedia
public virtual GetReplMedia( const iOid,
oMedia)
Get the media identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oMedia
the media looked for.
Returns:
an HRESULT value.
Legal values: S_OK:media found S_FALSE:media not found E_FAIL:
o GetReplPackageDefinition
public virtual GetReplPackageDefinition( const iOid,
oPackage)
Get the package definition identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oPackage
the package looked for.
Returns:
an HRESULT value.
Legal values: S_OK:package found S_FALSE:package not found E_FAIL:
o GetReplSubscribingTarget
public virtual GetReplSubscribingTarget( const iOid,
oTarget)
Get the subscribing target named iName.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oSite
the site looked for.
Returns:
an HRESULT value.
Legal values: S_OK:site found S_FALSE:site not found E_FAIL:
o GetReplSubscribingTarget
public virtual GetReplSubscribingTarget( const iName,
oTarget)
Get the subscribing target named iName.
Parameters:
iName
the name of the target looked for.
oSite
the site looked for.
Returns:
an HRESULT value.
Legal values: S_OK:site found S_FALSE:site not found E_FAIL:
o GetReplSubscription
public virtual GetReplSubscription( const iOid,
oSubscription)
Get the subscription from its iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oSite
the site looked for.
Returns:
an HRESULT value.
Legal values: S_OK:site found S_FALSE:site not found E_FAIL:
o GetServer
public virtual GetServer( const iOid,
oServer)
Get the server identified by iOid.
Parameters:
iOid

Legal values: a 16-bytes identifier.
oProject
the project required
Returns:
an HRESULT value.
Legal values: S_OK: server not found S_FALSE: server not found E_FAIL:system error
o GetVaultServer
public virtual GetVaultServer( const iName,
oServer)
Get a vault server object named iName.
o Init
public virtual Init( const iUserName="",
const iPassword="",
const iLoadAdmin= 0 )
Initialization. Default Authentication is System N.B.: iLoadAdmin > 0 in the LoadAdmin load only.
Returns:
an HRESULT value.
Legal values: S_OK: E_FAIL:
o RemoveAllInstances
public virtual RemoveAllInstances()
mark all instances aggregated by the VPMIAdmin to be deleted.
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE: E_FAIL:
o Save
public virtual Save()
Save of all the modifications which have been done during the current logical unit of work.
Returns:
an HRESULT value.
Legal values: S_OK: E_FAIL:
o SetLocalSite
public virtual SetLocalSite( const iSite)
set the local site of the current installation.
Parameters:
iSite
the local site.
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE: E_FAIL:
o Subscribe
public virtual Subscribe( const iBuf,
oSubscription)
Update the Admin with a new subscription.
Parameters:
iBuf
the string containing the subscription definition
oSubscription
Returns:
an HRESULT value.
Legal values: S_OK: S_FALSE:subscription refused E_FAIL:

Enumerated Types


o ADMINTYPE
enum ADMINTYPE {
  ADMINAPPLYSTATUS,
  ADMINAPPSERVER,
  ADMINCAPTURESTATUS,
  ADMINBUSINESSDOMAIN,
  ADMINDATAFILE,
  ADMINDATARDB,
  ADMINDATASERVER,
  ADMINDOMAIN,
  ADMINEXTERNSITE,
  ADMINHOST,
  ADMINLOCALSITE,
  ADMINMEDIA,
  ADMINPACKAGEDEFINITION,
  ADMINPROJECT,
  ADMINSERVER,
  ADMINSUBSCRIBINGTARGET,
  ADMINSUBSCRIPTION,
  ADMINVAULTSERVER
}
Enum of admin types.

This object is included in the file: VPMIAdmin.h
If needed, your Imakefile.mk should include the module: GUIDVPMInterfaces

Copyright © 2003, Dassault Systèmes. All rights reserved.