SetHelpContext 方法
基于传递的资源字符串设置帮助上下文。
命名空间: Microsoft.SqlServer.Management.Collector
程序集: Microsoft.SqlServer.Management.Collector(在 Microsoft.SqlServer.Management.Collector.dll 中)
语法
声明
Protected Friend Function SetHelpContext ( _
resource As String _
) As CollectorException
用法
Dim resource As String
Dim returnValue As CollectorException
returnValue = Me.SetHelpContext(resource)
protected internal CollectorException SetHelpContext(
string resource
)
protected public:
CollectorException^ SetHelpContext(
String^ resource
)
member SetHelpContext :
resource:string -> CollectorException
function SetHelpContext(
resource : String
) : CollectorException
参数
- resource
类型:System. . :: . .String
一个 [T:System:String] 值,该值是引发异常的资源的名称。
返回值
类型:Microsoft.SqlServer.Management.Collector. . :: . .CollectorException
一个包含数据收集器异常的 CollectorException 类型的对象。
注释
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.