UserOptions Class
The UserOptions object represents a set configurable server options that relate specifically to users.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcElementTypeAttribute("UserOption")> _
Public NotInheritable Class UserOptions _
Inherits SqlSmoObject _
Implements IAlterable, IScriptable
'Usage
Dim instance As UserOptions
[SfcElementTypeAttribute("UserOption")]
public sealed class UserOptions : SqlSmoObject,
IAlterable, IScriptable
[SfcElementTypeAttribute(L"UserOption")]
public ref class UserOptions sealed : public SqlSmoObject,
IAlterable, IScriptable
[<SealedAttribute>]
[<SfcElementTypeAttribute("UserOption")>]
type UserOptions =
class
inherit SqlSmoObject
interface IAlterable
interface IScriptable
end
public final class UserOptions extends SqlSmoObject implements IAlterable, IScriptable
Remarks
To get or set UserOptions object properties, users can be a member of the public fixed server role. The setting applies to the current user.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Smo.SmoObjectBase
Microsoft.SqlServer.Management.Smo.SqlSmoObject
Microsoft.SqlServer.Management.Smo.UserOptions
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also