UtilityException.SetHelpContext 方法
Defines the Help context identifier for the exception.
命名空间: Microsoft.SqlServer.Management.Utility
程序集: Microsoft.SqlServer.Management.Utility(在 Microsoft.SqlServer.Management.Utility.dll 中)
语法
声明
Protected Friend Function SetHelpContext ( _
resource As String _
) As UtilityException
用法
Dim resource As String
Dim returnValue As UtilityException
returnValue = Me.SetHelpContext(resource)
protected internal UtilityException SetHelpContext(
string resource
)
protected public:
UtilityException^ SetHelpContext(
String^ resource
)
member SetHelpContext :
resource:string -> UtilityException
function SetHelpContext(
resource : String
) : UtilityException
参数
- resource
类型:System.String
A String value that represents the Help context for the UtilityException object.
返回值
类型:Microsoft.SqlServer.Management.Utility.UtilityException
A string that represents the Help context.