Repository connections define the parameters for connecting to a Grooper database.
Property Name |
Property Type |
Description |
IsEmpty |
System.Boolean |
Returns true if all properties with a ViewableAttribute are set to their default value. |
IsWriteable |
System.Boolean |
Returns true if the object is writable, or false if it is not. |
Password |
System.String |
The password to be used for database access. Windows Authentication will be used when the user name and password properties are left blank. |
PgConnectionTimeout |
System.Int32 |
The length of time (in seconds) to wait for a connection to the server before terminating the connection attempt and generating an error. |
PgDatabaseName |
System.String |
The name of the SQL Server database. |
PgServerName |
System.String |
The name of the SQL Server instance. For details on specifying SQL Server instance names, see the following Microsoft documentation: Logging In to SQL Server. |
PgUserName |
System.String |
The user name to be used for database access. Windows Authentication will be used when the user name and password properties are left blank. |
RepositoryId |
System.Guid |
The unique Id for the Grooper Repository. |
RepositoryName |
System.String |
The name for the Grooper Repository. |
Method Name |
Description |
GetProperties() As PropertyDescriptorCollection |
|
IsPropertyEnabled(PropertyName As String) As Nullable(Of Boolean) |
Defines whether a property is currently enabled.
Parameters |
PropertyName |
Type: String |
The name of the property to determine the enabled state for. |
|
IsPropertyVisible(PropertyName As String) As Nullable(Of Boolean) |
Defines whether a property is currently visible.
Parameters |
PropertyName |
Type: String |
The name of the property to determine the visible state for. |
|
IsType(Type As Type) As Boolean |
Returns true if the object is of the type specified, or if it derives from the type specfied.
Parameters |
Type |
Type: Type |
The type to check. |
|
IsValid() As Boolean |
|
ToString() As String |
|
ValidateProperties() As ValidationErrorList |
Validates the properties of the object, returning a list of validation errors. |