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.