NTAccount.ToString 方法

定义

以“域\帐户”格式返回 NTAccount 对象所表示的帐户的帐户名。Returns the account name, in Domain \ Account format, for the account represented by the NTAccount object.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

返回

String

帐户名称,采用“域\帐户”格式。The account name, in Domain \ Account format.

适用于