共用方式為


IRegiisUtility.ProtectedConfigAction 方法

定義

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

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

public:
 void ProtectedConfigAction(long actionToPerform, 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 actionToPerform, 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
Public Sub ProtectedConfigAction (actionToPerform 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)

參數

actionToPerform
Int64

要執行的動作類型。

firstArgument
String

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

secondArgument
String

組態檔名稱或帳戶名稱。

providerName
String

提供者名稱。

appPath
String

應用程式路徑。

site
String

站台參考。

cspOrLocation
String

組態位置。

keySize
Int32

金鑰的大小。

exception
IntPtr

nativeint

要顯示的例外狀況。

適用於