Метод SetHelpContext
Sets the Help context value for the referenced exception.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Protected Friend Function SetHelpContext ( _
resource As String _
) As SmoException
'Применение
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
Параметры
- resource
Тип: System. . :: . .String
A String value that specifies the resource file that contains the Help context for the referenced exception.
Возвращаемое значение
Тип: Microsoft.SqlServer.Management.Smo. . :: . .SmoException
An SmoException object value that specifies the exception with the Help context.