SmoException.SetHelpContext Method (String)


Sets the Help context value for the referenced exception.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

protected internal SmoException SetHelpContext(
	string resource


Type: System.String

A String value that specifies the resource file that contains the Help context for the referenced exception.

Return Value

Type: Microsoft.SqlServer.Management.Smo.SmoException

An SmoException object value that specifies the exception with the Help context.

Return to top