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.