Méthode SetHelpContext
Sets the Help context value for the referenced exception.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Protected Friend Function SetHelpContext ( _
resource As String _
) As SmoException
'Utilisation
Dim resource As String
Dim returnValue As SmoException
returnValue = Me.SetHelpContext(resource)
protected internal SmoException SetHelpContext(
string resource
)
protected public:
SmoException^ SetHelpContext(
String^ resource
)
member SetHelpContext :
resource:string -> SmoException
function SetHelpContext(
resource : String
) : SmoException
Paramètres
- resource
Type : System. . :: . .String
A String value that specifies the resource file that contains the Help context for the referenced exception.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo. . :: . .SmoException
An SmoException object value that specifies the exception with the Help context.