A5DNS::ManagerOpen Method
Syntax
Arguments
- BYREF ManagerPointer
The variable to be populated with the DNS manager if the open call succeeds. You must dimension the variable as shown below before passing it to this function.
- NameCacheA5Storage::NameCache
An optional name cache for looking up connection strings by name.
- ConnectionStringInCharacter
The connection string for the DNS manager.
- PassphraseCharacter
The passphrase with which the connection string was encrypted (if any).
Returns
- resultA5Storage::CallResult
The a CallResult object with properties that describe any error returned. Check the Success property to see if the function succeeded.
Description
Open uses the provided connection string to create a manager object instance of the Provider type indicated in the connection string.
Note: The manager object is stateless, so you may not get credential errors until you call a member function on the manager object instance.
Example
' List CNAME records. dim cs as c ?A5DNS::Manager::ShowConnectionstringdialog(cs, cs) cs = "Provider='AmazonRoute53';Timeout='10000';AccessKey='kkkkkkkk';SecretKey='ssssssss';Domain='example.com.';" dim dnsm as A5DNS::Manager = null_value() Result = A5DNS::Manager::Open(dnsm,cs)