Compartir a través de


SetHelpContext Método

Sets the Help context value for the referenced exception.

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

Sintaxis

'Declaración
Protected Friend Function SetHelpContext ( _
    resource As String _
) As SmoException
'Uso
Dim resource As String
Dim returnValue As SmoException

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

Parámetros

  • resource
    Tipo: System. . :: . .String
    A String value that specifies the resource file that contains the Help context for the referenced exception.

Valor devuelto

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .SmoException
An SmoException object value that specifies the exception with the Help context.