Compartilhar via


Método SetHelpContext

Sets the help context value for the referenced exception. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxe

'Declaração
Protected Friend Function SetHelpContext ( _
    resource As String _
) As SfcException
'Uso
Dim resource As String
Dim returnValue As SfcException

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

Parâmetros

  • resource
    Tipo: System. . :: . .String
    The resource file that contains the help context for the referenced exception.

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcException
An SfcException object that specifies the exception with the help context.