共用方式為


IntegrationServicesException.SetHelpContext 方法

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

命名空間:  Microsoft.SqlServer.Management.IntegrationServices
組件:  Microsoft.SqlServer.Management.IntegrationServices (在 Microsoft.SqlServer.Management.IntegrationServices.dll 中)

語法

'宣告
Protected Friend Function SetHelpContext ( _
    resource As String _
) As IntegrationServicesException
'用途
Dim resource As String 
Dim returnValue As IntegrationServicesException 

returnValue = Me.SetHelpContext(resource)
protected internal IntegrationServicesException SetHelpContext(
    string resource
)
protected public:
IntegrationServicesException^ SetHelpContext(
    String^ resource
)
member SetHelpContext : 
        resource:string -> IntegrationServicesException
function SetHelpContext(
    resource : String
) : IntegrationServicesException

參數

  • resource
    型別:System.String
    The name of the resource that threw the exception.

傳回值

型別:Microsoft.SqlServer.Management.IntegrationServices.IntegrationServicesException
The help context.

請參閱

參考

IntegrationServicesException 類別

Microsoft.SqlServer.Management.IntegrationServices 命名空間