SetHelpContext 方法

Sets the help context for the exception.

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
Protected Friend Function SetHelpContext ( _
    resource As String _
) As DmfException
用法
Dim resource As String
Dim returnValue As DmfException

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

参数

  • resource
    类型:System. . :: . .String
    A String value that specifies the resource file that contains the help context for the exception.

返回值

类型:Microsoft.SqlServer.Management.Dmf. . :: . .DmfException
A DmfException object initialized with the specified help context information.