مشاركة عبر


RegisteredServerException.SetHelpContext Method

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

Parameters

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

Return Value

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

See Also

Reference

RegisteredServerException Class

Microsoft.SqlServer.Management.RegisteredServers Namespace