Поделиться через


Метод SetHelpContext

Sets the help context value for the referenced exception. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.

Пространство имен:  Microsoft.SqlServer.Management.Sdk.Sfc
Сборка:  Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Синтаксис

'Декларация
Protected Friend Function SetHelpContext ( _
    resource As String _
) As SfcException
'Применение
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

Параметры

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

Возвращаемое значение

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