IFsrmAccessDeniedRemediationClient.Show Method (UInt64, String, _AdrClientErrorType, Int32, String, String)

 

Displays the Access Denied Remediation (ADR) client dialog.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

int Show(
    ulong parentWnd,
    string accessPath,
    _AdrClientErrorType errorType,
    int flags,
    string windowTitle = "",
    string windowMessage = ""
)
int Show(
    unsigned long long parentWnd,
    String^ accessPath,
    _AdrClientErrorType errorType,
    int flags,
    String^ windowTitle = "",
    String^ windowMessage = ""
)
abstract Show : 
        parentWnd:uint64 *
        accessPath:string *
        errorType:_AdrClientErrorType *
        flags:int *
        windowTitle:string = "" *
        windowMessage:string = "" -> int
Function Show (
    parentWnd As ULong,
    accessPath As String,
    errorType As _AdrClientErrorType,
    flags As Integer,
    windowTitle As String,
    windowMessage As String
) As Integer

Parameters

  • parentWnd
    Type: System.UInt64

    Handle to the window that will be the parent of the dialog that will be displayed.

  • accessPath
    Type: System.String

    Path of the file being accessed.

  • windowTitle
    Type: System.String

    Optional text to display as the title of the dialog window that is opened.

  • windowMessage
    Type: System.String

    Optional text to display above the instructions in the dialog window that is opened.

Return Value

Type: System.Int32

Returns Int32. If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This method was introduced for applications that are already using the FSRM interfaces. Where possible it is recommended to use the MSFT_FSRMadr and MSFT_FSRMADRSettings WMI classes instead.

See Also

IFsrmAccessDeniedRemediationClient
Microsoft.Storage Namespace

Return to top