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 命名空间