Share via


RegiisUtility.ProtectedConfigAction 方法

定義

允許系統根據提供的參數,執行組態區段和組件金鑰容器的特殊管理。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 virtual void ProtectedConfigAction(long options, System::String ^ firstArgument, System::String ^ secondArgument, System::String ^ providerName, System::String ^ appPath, System::String ^ site, System::String ^ cspOrLocation, int keySize, [Runtime::InteropServices::Out] IntPtr % exception);
public void ProtectedConfigAction (long options, string firstArgument, string secondArgument, string providerName, string appPath, string site, string cspOrLocation, int keySize, out IntPtr exception);
abstract member ProtectedConfigAction : int64 * string * string * string * string * string * string * int * nativeint -> unit
override this.ProtectedConfigAction : int64 * string * string * string * string * string * string * int * nativeint -> unit
Public Sub ProtectedConfigAction (options As Long, firstArgument As String, secondArgument As String, providerName As String, appPath As String, site As String, cspOrLocation As String, keySize As Integer, ByRef exception As IntPtr)

參數

options
Int64

要執行的動作類型。

firstArgument
String

組態區段或組件金鑰容器名稱。

secondArgument
String

組態檔名稱或帳戶名稱。

providerName
String

提供者名稱。

appPath
String

應用程式路徑。

site
String

站台參考。

cspOrLocation
String

組態位置。

keySize
Int32

金鑰的大小。

exception
IntPtr

nativeint

要顯示的例外狀況。

實作

備註

方法 ProtectedConfigAction 會在內部用來保護和取消保護組態內的區段。 方法 ProtectedConfigAction 也支援元件金鑰容器操作。

適用於