共用方式為


IHasCredential<T>.WithPasswordCredential Method

Definition

Attach a credential to this model.

public T WithPasswordCredential (Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredentialImpl<T> credential);
abstract member WithPasswordCredential : Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredentialImpl<'T (requires 'T : null)> -> 'T
Public Function WithPasswordCredential (credential As PasswordCredentialImpl(Of T)) As T

Parameters

credential
PasswordCredentialImpl<T>

The credential to attach to.

Returns

T

Applies to