共用方式為


XEventException.SetHelpContext 方法

Sets help context for an instance of the XEventException class.

命名空間:  Microsoft.SqlServer.Management.XEvent
組件:  Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)

語法

'宣告
Protected Friend Function SetHelpContext ( _
    resource As String _
) As XEventException
'用途
Dim resource As String 
Dim returnValue As XEventException 

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

參數

  • resource
    型別:System.String
    A string value that specifies the resource identifier/locator.

傳回值

型別:Microsoft.SqlServer.Management.XEvent.XEventException
Returns the current XEventException object.

請參閱

參考

XEventException 類別

Microsoft.SqlServer.Management.XEvent 命名空間