Compartir a través de


SetHelpContext Método

Sets the help context value for the referenced exception. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado:  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxis

'Declaración
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 devuelto

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