SetHelpContext 方法
Sets the help context for the exception.
命名空間: Microsoft.SqlServer.Management.RegisteredServers
組件: Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)
語法
'宣告
Protected Friend Function SetHelpContext ( _
resource As String _
) As RegisteredServerException
'用途
Dim resource As String
Dim returnValue As RegisteredServerException
returnValue = Me.SetHelpContext(resource)
protected internal RegisteredServerException SetHelpContext(
string resource
)
protected public:
RegisteredServerException^ SetHelpContext(
String^ resource
)
member SetHelpContext :
resource:string -> RegisteredServerException
function SetHelpContext(
resource : String
) : RegisteredServerException
參數
- resource
型別:System. . :: . .String
A String value that specifies the resource file that contains the help context for the exception.
傳回值
型別:Microsoft.SqlServer.Management.RegisteredServers. . :: . .RegisteredServerException
A RegisteredServerException object initialized with the specified help context information.