AccessKeyManager.IsKeyRegistered(Object, String) 方法

定义

指示指定的密钥是否注册为指定范围内的访问密钥。

public:
 static bool IsKeyRegistered(System::Object ^ scope, System::String ^ key);
public static bool IsKeyRegistered(object scope, string key);
static member IsKeyRegistered : obj * string -> bool
Public Shared Function IsKeyRegistered (scope As Object, key As String) As Boolean

参数

scope
Object

要查询 key的演示文稿源。

key
String

要查询的键。

返回

true 如果密钥已注册,则为否则,为 false.

适用于