Méthode SfcException.SetHelpContext
Sets the help context value for the referenced exception. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Protected Friend Function SetHelpContext ( _
resource As String _
) As SfcException
'Utilisation
Dim resource As String
Dim returnValue As SfcException
returnValue = Me.SetHelpContext(resource)
protected internal SfcException SetHelpContext(
string resource
)
protected public:
SfcException^ SetHelpContext(
String^ resource
)
member SetHelpContext :
resource:string -> SfcException
function SetHelpContext(
resource : String
) : SfcException
Paramètres
- resource
Type : System.String
The resource file that contains the help context for the referenced exception.
Valeur de retour
Type : Microsoft.SqlServer.Management.Sdk.Sfc.SfcException
An SfcException object that specifies the exception with the help context.