Share via


UtilityException.SetHelpContext Method

Defines the Help context identifier for the exception.

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

Syntax

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

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

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Utility.UtilityException
A string that represents the Help context.