共用方式為


DmfException.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.

請參閱

參考

DmfException 類別

Microsoft.SqlServer.Management.Dmf 命名空間