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.