Méthode RegisteredServerException.SetHelpContext

Sets the help context for the exception.

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

Syntaxe

'Déclaration
Protected Friend Function SetHelpContext ( _
    resource As String _
) As RegisteredServerException
'Utilisation
Dim resource As String 
Dim returnValue As RegisteredServerException 

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

Paramètres

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

Valeur de retour

Type : Microsoft.SqlServer.Management.RegisteredServers.RegisteredServerException
A RegisteredServerException object initialized with the specified help context information.

Voir aussi

Référence

RegisteredServerException Classe

Espace de noms Microsoft.SqlServer.Management.RegisteredServers