IWebSiteOperations.GeneratePasswordAsync Method (String, String, CancellationToken)
Asynchronously generates a password for publishing a website.
Namespace: Microsoft.WindowsAzure.Management.WebSites
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Syntax
Task<OperationResponse> GeneratePasswordAsync(
string webSpaceName,
string webSiteName,
CancellationToken cancellationToken
)
Task<OperationResponse^>^ GeneratePasswordAsync(
String^ webSpaceName,
String^ webSiteName,
CancellationToken cancellationToken
)
abstract GeneratePasswordAsync :
webSpaceName:string *
webSiteName:string *
cancellationToken:CancellationToken -> Task<OperationResponse>
Function GeneratePasswordAsync (
webSpaceName As String,
webSiteName As String,
cancellationToken As CancellationToken
) As Task(Of OperationResponse)
Parameters
webSpaceName
Type: System.StringThe name of the web space.
webSiteName
Type: System.StringThe name of the website.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<OperationResponse>
An OperationResponse object that includes an HTTP status code and request ID.
Remarks
For more information about generating a password, see Generate a Password for Site Publishing.
See Also
IWebSiteOperations Interface
Microsoft.WindowsAzure.Management.WebSites Namespace
Return to top