Freigeben über


RegisteredServerException.SetHelpContext-Methode

Sets the help context for the exception.

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

Syntax

'Declaration
Protected Friend Function SetHelpContext ( _
    resource As String _
) As RegisteredServerException
'Usage
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

Parameter

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

Rückgabewert

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

Siehe auch

Verweis

RegisteredServerException Klasse

Microsoft.SqlServer.Management.RegisteredServers-Namespace