Partilhar via


Método SetHelpContext

Sets the Help context value for the referenced exception.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
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 de retorno

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