Share via


NotificationHubDescription.SetAccessPasswords Method

Definition

Sets the access passwords.

public void SetAccessPasswords (string fullAccessRuleName, string fullAccessPassword, string listenAccessRuleName, string listenAccessPassword);
member this.SetAccessPasswords : string * string * string * string -> unit
Public Sub SetAccessPasswords (fullAccessRuleName As String, fullAccessPassword As String, listenAccessRuleName As String, listenAccessPassword As String)

Parameters

fullAccessRuleName
String

name of the full access rule.

fullAccessPassword
String

The full access password.

listenAccessRuleName
String

Name of the listen access rule.

listenAccessPassword
String

The listen access password.

Exceptions

fullAccessRuleName or fullAccessPassword or listenAccessRuleName or listenAccessPassword

Applies to