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.