Partager via


Méthode SetHelpContext

Defines the Help context identifier for the exception.

Espace de noms :  Microsoft.SqlServer.Management.Utility
Assembly :  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Syntaxe

'Déclaration
Protected Friend Function SetHelpContext ( _
    resource As String _
) As UtilityException
'Utilisation
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

Paramètres

Valeur de retour

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