Share via


DmfException.SetHelpContext Method

Sets the help context for the exception.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Protected Friend Function SetHelpContext ( _
    resource As String _
) As DmfException
'Usage
Dim resource As String 
Dim returnValue As DmfException 

returnValue = Me.SetHelpContext(resource)
protected internal DmfException SetHelpContext(
    string resource
)
protected public:
DmfException^ SetHelpContext(
    String^ resource
)
member SetHelpContext : 
        resource:string -> DmfException
function SetHelpContext(
    resource : String
) : DmfException

Parameters

  • resource
    Type: System.String
    A String value that specifies the resource file that contains the help context for the exception.

Return Value

Type: Microsoft.SqlServer.Management.Dmf.DmfException
A DmfException object initialized with the specified help context information.

See Also

Reference

DmfException Class

Microsoft.SqlServer.Management.Dmf Namespace