Share via


CollectorException.SetHelpContext 메서드

Sets the help context based on the resource string that is passed.

네임스페이스:  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
    A [T:System:String] value that is the name of the resource that threw the exception.

반환 값

유형: Microsoft.SqlServer.Management.Collector.CollectorException
An object of type CollectorException containing data collector exceptions.

주의

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

참고 항목

참조

CollectorException 클래스

Microsoft.SqlServer.Management.Collector 네임스페이스