Compartir a través de


SetHelpContext Método

Sets the help context based on the resource string that is passed.

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

Sintaxis

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

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

Parámetros

  • resource
    Tipo: System. . :: . .String
    A [T:System:String] value that is the name of the resource that threw the exception.

Notas

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.