Classe UserOptions

The UserOptions object represents a set configurable server options that relate specifically to users.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcElementTypeAttribute("UserOption")> _
Public NotInheritable Class UserOptions _
    Inherits SqlSmoObject _
    Implements IAlterable, IScriptable
'Utilisation
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

Notes

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

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme sûrs.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectBase
    Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
      Microsoft.SqlServer.Management.Smo..::..UserOptions

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.