RegisteredServerException.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.