Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Server Properties

The Server type exposes the following members.

  Name Description
Public property ActiveDirectory Obsolete. 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 AvailabilityGroups Gets the available groups in the 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 version string of the CLR that was used while building the instance.
Public property BuildNumber Gets the BuildNumber property value.
Public property ClusterName Gets the name of the cluster.
Public property ClusterQuorumState Gets the state of the cluster quorum.
Public property ClusterQuorumType Gets the type of the cluster quorum.
Public property Collation Gets the Collation property value.
Public property CollationID Gets the CollationID property value.
Public property ComparisonStyle Gets the Windows comparison style of the collation.
Public property ComputerNamePhysicalNetBIOS Gets the NetBIOS name of the local computer on which the instance of SQL Server is currently running.
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 list of server cryptographic providers.
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 default log of the server.
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 edition of the engine.
Public property ErrorLogPath Gets the ErrorLogPath property value.
Public property Events Gets the server events that are associated with the instance of SQL Server.
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 HadrManagerStatus Gets the status of the Hadr manager.
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 value that indicates whether the case is sensitive.
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 IsHadrEnabled Gets a value that indicates whether the Hadr is enabled.
Public property IsSingleUser Gets the property value whether the user is single.
Public property JobServer Gets the SQL Server Agent associated with the instance of SQL Server.
Public property Language Gets the language of the server.
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 mail profile of the server.
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.
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 physical memory used by the server.
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 server platform.
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 of the server.
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 resource governor of the server.
Public property ResourceLastUpdateDateTime Gets the last time the resource was last updated.
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.
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 value that identifies the character set used by the server.
Public property SqlCharSetName Gets the name of the character set used by the server.
Public property SqlDomainGroup Gets the domain group for the instance of SQL Server.
Public property SqlSortOrder Gets the SQL sort order from the collation.
Public property SqlSortOrderName Gets the name of the sort order used by the server.
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 major version of the server.
Public property VersionMinor Gets the VersionMinor property value.
Public property VersionString Gets the version string of the server.
Top
  Name Description
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. All rights reserved.