XEventException.SetHelpContext Method
Sets help context for an instance of the XEventException class.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
Protected Friend Function SetHelpContext ( _
resource As String _
) As XEventException
'Usage
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
Parameters
- resource
Type: System.String
A string value that specifies the resource identifier/locator.
Return Value
Type: Microsoft.SqlServer.Management.XEvent.XEventException
Returns the current XEventException object.