Xbasic

AlphaCloud::ClientSetWebSiteHostNameAndCertificate Method

Syntax

.SetWebSiteHostNameAndCertificate as L (WebSiteName as C, HostName as C, CertificateName as C)

Arguments

WebSiteNameCharacter

The name of the web site to associate the certificate with.

HostNameCharacter

The host name (usually the certificate name, but this could be a host name embeded in the certificate).

CertificateNameCharacter

The name of the certificate previously uploaded to Alpha Cloud.

Returns

resultLogical

Returns .t. if the function call succeeded and .f. if it failed. Look at the CallResult property to determine the cause of a failure.

Description

SetWebSiteHostNameAndCertificate sets the host name (DNS name) and certificate name for a web site belonging to the current subscription.