Export (0) Print
Expand All
Expand Minimize

Server Properties

The Server type exposes the following members.

  NameDescription
Public property ActiveDirectory Gets information about the Active Directory settings for the instance of SQL Server.
Public property AffinityInfo Gets the AffinityInfo object that is associated with an instance of SQL Server.
Public property AuditLevel Gets or sets the AuditLevel property value.
Public property Audits Represents a collection of Audit objects. Each Audit object represents an audit log defined on the instance of SQL Server.
Public property BackupDevices Represents a collection of BackupDevice objects. Each BackupDevice object represents a backup device defined on the instance of SQL Server.
Public property BackupDirectory Gets or sets the BackupDirectory property value.
Public property BrowserServiceAccount Gets the service account that the Browser service runs under on the instance of SQL Server.
Public property BrowserStartMode Gets the start mode for the SQL Server Browser Service running on the instance of SQL Server.
Public property BuildClrVersion Gets the BuildClrVersion property value.
Public property BuildClrVersionString Gets the BuildClrVersionString property value.
Public property BuildNumber Gets the BuildNumber property value.
Public property Collation Gets the Collation property value.
Public property CollationID Gets the CollationID property value.
Public property ComparisonStyle Gets the ComparisonStyle property value.
Public property ComputerNamePhysicalNetBIOS Gets the ComputerNamePhysicalNetBIOS property value.
Public property Configuration Gets the configuration options for the instance of SQL Server.
Public property ConnectionContext Gets the current server connection details for the instance of SQL Server.
Public property Credentials Represents a collection of Credential objects. Each Credential object represents a credential defined on the instance of SQL Server.
Public property CryptographicProviders Gets the CryptographicProviders property value.
Public property Databases Represents a collection of Database objects. Each Database object represents a database defined on the instance of SQL Server.
Public property DefaultFile Gets or sets the DefaultFile property value.
Public property DefaultLog Gets or sets the DefaultLog property value.
Public property DefaultTextMode Gets or sets the Boolean property value that specifies whether the default text mode is set for the instance of SQL Server.
Public property Edition Gets the Edition property value.
Public property Endpoints Represents a collection of Endpoint objects. Each Endpoint object represents an endpoint defined on the instance of SQL Server.
Public property EngineEdition Gets the EngineEdition property value.
Public property ErrorLogPath Gets the ErrorLogPath property value.
Public property Events Gets the server events that are associated with the instance of SQL Server.
Protected property ExecuteForScalar Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Inherited from SqlSmoObject.)
Public property FilestreamLevel Gets the level of FILESTREAM access specified on the instance of SQL Server.
Public property FilestreamShareName Gets the Windows share name where FILESTREAM data is stored on the instance of SQL Server.
Public property FullTextService Gets the Microsoft Search Full-Text service implementation for the instance of SQL Server.
Public property Information Gets information about the instance of SQL Server.
Public property InstallDataDirectory Gets the local Windows directory where the installation data is stored for the instance of SQL Server.
Public property InstallSharedDirectory Gets the remote shared directory where the installation data is stored for the instance of SQL Server.
Public property InstanceName Gets the instance name of the instance of SQL Server. 
Public property IsCaseSensitive Gets the IsCaseSensitive property value.
Public property IsClustered Gets the IsClustered property value.
Public property IsFullTextInstalled Gets the Boolean value that specifies whether Full-Text service is installed on the instance of SQL Server.
Public property IsSingleUser Gets the IsSingleUser property value.
Protected property IsTouched Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Inherited from SqlSmoObject.)
Public property JobServer Gets the SQL Server Agent associated with the instance of SQL Server.
Public property Language Gets the Language property value.
Public property Languages Represents a collection of Language objects. Each Language object represents an languages supported by the instance of SQL Server.
Public property LinkedServers Represents a collection of LinkedServer objects. Each LinkedServer object represents a linked server registered on the instance of SQL Server.
Public property LoginMode Gets or sets the ServerLoginMode property value.
Public property Logins Represents a collection of Login objects. Each Login object represents a login defined on the instance of SQL Server.
Public property Mail Gets the Microsoft SQL Mail service associated with the instance of SQL Server.
Public property MailProfile Gets or sets the MailProfile property value.
Public property MasterDBLogPath Get the MasterDBLogPath property value.
Public property MasterDBPath Gets the MasterDBPath property value.
Public property MaxPrecision Gets the MaxPrecision property value.
Public property Name Gets the name of the server, which is the physical machine name.
Public property NamedPipesEnabled Gets the Boolean value that specifies whether Named Pipes provider is enabled for client-server connectivity on the instance of SQL Server.
Public property NetName Gets the NetName property value.
Public property NumberOfLogFiles Gets or sets the NumberOfLogFiles property value.
Protected property ObjectInSpace Gets the Boolean property value that specifies whether the object exists in isolation, or whether it is directly or indirectly connected to the instance of SQL Server. (Inherited from SqlSmoObject.)
Public property OleDbProviderSettings Gets the DbProviderSettings property value.
Public property OSVersion Gets the OSVersion property value.
Public property PerfMonMode Gets or sets the PerfMonMode property value.
Public property PhysicalMemory Gets the PhysicalMemory property value.
Public property PhysicalMemoryUsageInKB Gets an Int64 value that specifies the amount of memory in use by the instance of the Database Engine, in kilobytes.
Public property Platform Gets the Platform property value.
Public property Processors Gets the Processors property value.
Public property ProcessorUsage Gets an Int32 value that specifies the processor time used by the instance of the Database Engine.
Public property Product Gets the Product property value.
Public property ProductLevel Gets the ProductLevel property value.
Public property Properties Gets a collection of Property objects that represent the object properties. (Inherited from SqlSmoObject.)
Public property ProxyAccount Gets the proxy account associated with the instance of SQL Server.
Public property ResourceGovernor Gets the ResourceGovernor property value.
Public property ResourceLastUpdateDateTime Gets the ResourceLastUpdateDateTime property value.
Public property ResourceVersion Gets the ResourceVersion property.
Public property ResourceVersionString Gets the ResouceVersionString property value.
Public property Roles Represents a collection of ServerRole objects. Each ServerRole object represents a role defined on the instance of SQL Server.
Public property RootDirectory Gets the RootDirectory property value.
Protected property ScalarResult Gets the scalar result for the referenced object. (Inherited from SqlSmoObject.)
Public property ServerAuditSpecifications Represents a collection of ServerAuditSpecification objects. Each ServerAuditSpecification object represents a specific audit specification defined on the instance of SQL Server.
Public property ServerType Gets the server type for the instance of SQL Server.
Public property ServiceAccount Gets the service account under which the instance of SQL Server is running.
Public property ServiceInstanceId Gets the ID value that uniquely identifies the service instance for this instance of SQL Server.
Public property ServiceMasterKey Gets the service master key associated with the instance of SQL Server.
Public property ServiceName Gets the service name for the server.
Public property ServiceStartMode Gets the start mode for the SQL Server service.
Public property Settings Gets modifiable settings for the instance of SQL Server.
Public property SqlCharSet Gets the SqlCharSet property value.
Public property SqlCharSetName Gets the SqlCharSetName property value.
Public property SqlDomainGroup Gets the domain group for the instance of SQL Server.
Public property SqlSortOrder Gets the SqlSortOrder property value.
Public property SqlSortOrderName Gets the SqlSortOrderName property value.
Public property State Gets the state of the referenced object. (Inherited from SmoObjectBase.)
Public property Status Gets the current status of the Server.
Public property SystemDataTypes Represents a collection of SystemDataType objects. Each SystemDataType object represents a system data type defined on the instance of SQL Server.
Public property SystemMessages Represents a collection of SystemMessage objects. Each SystemMessage object represents a system message defined on the instance of SQL Server.
Public property TapeLoadWaitTime Gets or sets the TapeLoadWaitTime property value.
Public property TcpEnabled Gets the Boolean value that determines whether TCP/IP protocol is enabled on this instance of SQL Server.
Public property Triggers Represents a collection of ServerDdlTrigger objects. Each ServerDdlTrigger object represents a server data definition language (DDL) trigger that is defined on the instance of SQL Server.
Public property Urn Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Inherited from SqlSmoObject.)
Public property UserData Gets or sets user-defined data associated with the referenced object. (Inherited from SmoObjectBase.)
Public property UserDefinedMessages Represents a collection of UserDefinedMessage objects. Each UserDefinedMessage object represents a user-defined message defined on the instance of SQL Server.
Public property UserOptions Gets the user options for the current connection to the instance of SQL Server.
Public property Version Gets the Version property value.
Public property VersionMajor Gets the VersionMajor property value.
Public property VersionMinor Gets the VersionMinor property value.
Public property VersionString Gets the VersionString property value.
Top

  NameDescription
Explicit interface implemetation Private property ISfcDomainLite.DomainInstanceName Gets the instance name of the domain.
Explicit interface implemetation Private property ISfcDomainLite.DomainName Gets the domain name.
Explicit interface implemetation Private property ISfcHasConnection.ConnectionContext Gets the context for the connection represented by the current Server object.
Explicit interface implemetation Private property ISfcSupportsDesignMode.IsDesignMode Gets a Boolean value that specifies whether the Server supports design mode.
Top

Community Additions

ADD
Show:
© 2014 Microsoft