Compartilhar via


Método UtilityException.SetHelpContext

Defines the Help context identifier for the exception.

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

Sintaxe

'Declaração
Protected Friend Function SetHelpContext ( _
    resource As String _
) As UtilityException
'Uso
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

Parâmetros

Valor de retorno

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

Consulte também

Referência

UtilityException Classe

Namespace Microsoft.SqlServer.Management.Utility