SiteManager Methods |
Description |
HRESULT SetAppName ( BSTR appName
);
|
Set the Application Name string that is used to specify the registry key for the BESAPI. Default is 'BESAPI'. |
HRESULT SetDSN ( BSTR dsn
);
|
Set the name of the ODBC DSN to use when connecting to the database. Default is 'BES_bfenterprise'. |
HRESULT Subscribe ( BSTR mastheadFilePath,
BSTR username,
BSTR password
);
|
Connects to the database with the username and password. Subscribes to the site specified by the masthead file at the specified file path. Propagates a new version of the action site. |
HRESULT SubscribeWithRelevance ( BSTR mastheadFilePath,
BSTR relevance,
BSTR username,
BSTR password
);
|
Connects to the database with the username and password. Subscribes computers that evaluate the specified relevance as "true" to the site specified by the masthead file at the specified file path. Propagates a new version of the action site. |
HRESULT Unsubscribe ( UINT siteID,
BSTR username,
BSTR password
);
|
Connects to the database with the username and password. Unsubscribes from the site specified by the specified site ID. Propagates a new version of the action site. |